Stop and restart fix.
BUG=1398 TEST=Local stop and start test. Review URL: https://webrtc-codereview.appspot.com/1115004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3545 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@@ -939,29 +939,30 @@ WebRtc_Word32 ModuleRtpRtcpImpl::SendOutgoingData(
|
||||
|
||||
std::list<ModuleRtpRtcpImpl*>::iterator it = child_modules_.begin();
|
||||
if (it != child_modules_.end()) {
|
||||
ret_val = (*it)->SendOutgoingData(frame_type,
|
||||
payload_type,
|
||||
time_stamp,
|
||||
capture_time_ms,
|
||||
payload_data,
|
||||
payload_size,
|
||||
fragmentation,
|
||||
rtp_video_hdr);
|
||||
|
||||
if ((*it)->SendingMedia()) {
|
||||
ret_val = (*it)->SendOutgoingData(frame_type,
|
||||
payload_type,
|
||||
time_stamp,
|
||||
capture_time_ms,
|
||||
payload_data,
|
||||
payload_size,
|
||||
fragmentation,
|
||||
rtp_video_hdr);
|
||||
}
|
||||
it++;
|
||||
}
|
||||
|
||||
// Send to all remaining "child" modules
|
||||
while (it != child_modules_.end()) {
|
||||
ret_val = (*it)->SendOutgoingData(frame_type,
|
||||
payload_type,
|
||||
time_stamp,
|
||||
capture_time_ms,
|
||||
payload_data,
|
||||
payload_size,
|
||||
fragmentation,
|
||||
rtp_video_hdr);
|
||||
|
||||
if ((*it)->SendingMedia()) {
|
||||
ret_val = (*it)->SendOutgoingData(frame_type,
|
||||
payload_type,
|
||||
time_stamp,
|
||||
capture_time_ms,
|
||||
payload_data,
|
||||
payload_size,
|
||||
fragmentation,
|
||||
rtp_video_hdr);
|
||||
}
|
||||
it++;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user