[Opalvoip-svn] SF.net SVN: opalvoip:[34812] opal/trunk/include/rtp/rtp.h
Brought to you by:
csoutheren,
rjongbloed
From: <rjo...@us...> - 2016-05-02 15:54:44
|
Revision: 34812 http://sourceforge.net/p/opalvoip/code/34812 Author: rjongbloed Date: 2016-05-02 15:54:42 +0000 (Mon, 02 May 2016) Log Message: ----------- Added function to set meta data on RTP_DataFrame Modified Paths: -------------- opal/trunk/include/rtp/rtp.h Modified: opal/trunk/include/rtp/rtp.h =================================================================== --- opal/trunk/include/rtp/rtp.h 2016-05-02 10:29:01 UTC (rev 34811) +++ opal/trunk/include/rtp/rtp.h 2016-05-02 15:54:42 UTC (rev 34812) @@ -666,6 +666,10 @@ */ const MetaData & GetMetaData() const { return m_metaData; } + /**Set meta data for RTP packet. + */ + void SetMetaData(const MetaData & metaData) { m_metaData = metaData; } + /**Get absolute (wall clock) time of packet, if known. */ PTime GetAbsoluteTime() const { return m_metaData.m_absoluteTime; } @@ -681,6 +685,8 @@ */ unsigned GetDiscontinuity() const { return m_metaData.m_discontinuity; } + /** Set sequence number discontinuity. + */ void SetDiscontinuity(unsigned lost) { m_metaData.m_discontinuity = lost; } /** Get the identifier that links audio and video streams for This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |