[Opalvoip-svn] SF.net SVN: opalvoip:[23773] opal/branches/v3_6/src/t38/t38proto.cxx
Brought to you by:
csoutheren,
rjongbloed
From: <rjo...@us...> - 2009-11-17 03:25:37
|
Revision: 23773 http://opalvoip.svn.sourceforge.net/opalvoip/?rev=23773&view=rev Author: rjongbloed Date: 2009-11-17 03:25:22 +0000 (Tue, 17 Nov 2009) Log Message: ----------- Added missing timestamp value when using fax -> G.711 mode. Modified Paths: -------------- opal/branches/v3_6/src/t38/t38proto.cxx Modified: opal/branches/v3_6/src/t38/t38proto.cxx =================================================================== --- opal/branches/v3_6/src/t38/t38proto.cxx 2009-11-17 02:39:18 UTC (rev 23772) +++ opal/branches/v3_6/src/t38/t38proto.cxx 2009-11-17 03:25:22 UTC (rev 23773) @@ -347,6 +347,8 @@ PINDEX len = m_faxCallInfo->socket.GetLastReadCount(); packet.SetPayloadType(RTP_DataFrame::MaxPayloadType); packet.SetPayloadSize(len); + packet.SetTimestamp(timestamp); + timestamp += len/16; #if WRITE_PCM_FILE static int file = _open("t38_audio_in.pcm", _O_BINARY | _O_CREAT | _O_TRUNC | _O_WRONLY, _S_IREAD | _S_IWRITE); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |