With these changes we will assume that the capture time of a frame is based on NTP time. This makes the interface of video engine more well defined and makes it easier and cleaner to handle user provided capture timestamps.
We should consider making the same change to the render timestamps generated at the receiver. BUG=1563 Review URL: https://webrtc-codereview.appspot.com/1283005 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3799 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@@ -1811,30 +1811,6 @@ int32_t ModuleRtpRtcpImpl::SendRTCPSliceLossIndication(
|
||||
return rtcp_sender_.SendRTCP(kRtcpSli, 0, 0, false, picture_id);
|
||||
}
|
||||
|
||||
int32_t ModuleRtpRtcpImpl::SetCameraDelay(const int32_t delay_ms) {
|
||||
WEBRTC_TRACE(kTraceModuleCall,
|
||||
kTraceRtpRtcp,
|
||||
id_,
|
||||
"SetCameraDelay(%d)",
|
||||
delay_ms);
|
||||
const bool default_instance(child_modules_.empty() ? false : true);
|
||||
|
||||
if (default_instance) {
|
||||
CriticalSectionScoped lock(critical_section_module_ptrs_.get());
|
||||
|
||||
std::list<ModuleRtpRtcpImpl*>::iterator it = child_modules_.begin();
|
||||
while (it != child_modules_.end()) {
|
||||
RtpRtcp* module = *it;
|
||||
if (module) {
|
||||
module->SetCameraDelay(delay_ms);
|
||||
}
|
||||
it++;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
return rtcp_sender_.SetCameraDelay(delay_ms);
|
||||
}
|
||||
|
||||
int32_t ModuleRtpRtcpImpl::SetGenericFECStatus(
|
||||
const bool enable,
|
||||
const uint8_t payload_type_red,
|
||||
|
Reference in New Issue
Block a user