Route CodecSpecificInfo from encoder to packetizer
Making a long chain of interface changes to route a CodecSpecificInfo struct from the video encoder function to the RTPSenderVideo. This will be used to convey information needed by the RTP packetizer when building the RTP headers. Review URL: http://webrtc-codereview.appspot.com/56001 git-svn-id: http://webrtc.googlecode.com/svn/trunk@140 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@@ -1076,7 +1076,8 @@ ModuleRtpRtcpImpl::SendOutgoingData(const FrameType frameType,
|
||||
const WebRtc_UWord32 timeStamp,
|
||||
const WebRtc_UWord8* payloadData,
|
||||
const WebRtc_UWord32 payloadSize,
|
||||
const RTPFragmentationHeader* fragmentation)
|
||||
const RTPFragmentationHeader* fragmentation,
|
||||
const RTPVideoTypeHeader* rtpTypeHdr)
|
||||
{
|
||||
WEBRTC_TRACE(kTraceStream, kTraceRtpRtcp, _id,
|
||||
"SendOutgoingData(frameType:%d payloadType:%d timeStamp:%u payloadSize:%u)",
|
||||
@@ -1095,11 +1096,13 @@ ModuleRtpRtcpImpl::SendOutgoingData(const FrameType frameType,
|
||||
if(!haveChildModules)
|
||||
{
|
||||
retVal = _rtpSender.SendOutgoingData(frameType,
|
||||
payloadType,
|
||||
payloadType,
|
||||
timeStamp,
|
||||
payloadData,
|
||||
payloadSize,
|
||||
fragmentation);
|
||||
fragmentation,
|
||||
NULL,
|
||||
rtpTypeHdr);
|
||||
} else
|
||||
{
|
||||
CriticalSectionScoped lock(_criticalSectionModulePtrs);
|
||||
@@ -1115,7 +1118,9 @@ ModuleRtpRtcpImpl::SendOutgoingData(const FrameType frameType,
|
||||
timeStamp,
|
||||
payloadData,
|
||||
payloadSize,
|
||||
fragmentation);
|
||||
fragmentation,
|
||||
NULL,
|
||||
rtpTypeHdr);
|
||||
|
||||
item = _childModules.Next(item);
|
||||
}
|
||||
@@ -1130,7 +1135,8 @@ ModuleRtpRtcpImpl::SendOutgoingData(const FrameType frameType,
|
||||
payloadData,
|
||||
payloadSize,
|
||||
fragmentation,
|
||||
codecInfo);
|
||||
codecInfo,
|
||||
rtpTypeHdr);
|
||||
|
||||
item = _childModules.Next(item);
|
||||
}
|
||||
|
Reference in New Issue
Block a user