Added timestamp logs, i.e. only tracing.
BUG= TEST= Review URL: https://webrtc-codereview.appspot.com/482001 git-svn-id: http://webrtc.googlecode.com/svn/trunk@2030 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
3c611fd4fd
commit
b1fbf016b5
@ -18,6 +18,7 @@
|
|||||||
#include "receiver_fec.h"
|
#include "receiver_fec.h"
|
||||||
#include "rtp_rtcp_impl.h"
|
#include "rtp_rtcp_impl.h"
|
||||||
#include "rtp_utility.h"
|
#include "rtp_utility.h"
|
||||||
|
#include "trace.h"
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
WebRtc_UWord32 BitRateBPS(WebRtc_UWord16 x )
|
WebRtc_UWord32 BitRateBPS(WebRtc_UWord16 x )
|
||||||
@ -401,6 +402,9 @@ WebRtc_Word32 RTPReceiverVideo::ParseVideoCodecSpecificSwitch(
|
|||||||
if (retVal != 0) {
|
if (retVal != 0) {
|
||||||
return retVal;
|
return retVal;
|
||||||
}
|
}
|
||||||
|
WEBRTC_TRACE(kTraceStream, kTraceRtpRtcp, _id, "%s(timestamp:%u)",
|
||||||
|
__FUNCTION__, rtpHeader->header.timestamp);
|
||||||
|
|
||||||
// All receive functions release _criticalSectionReceiverVideo before
|
// All receive functions release _criticalSectionReceiverVideo before
|
||||||
// returning.
|
// returning.
|
||||||
switch (videoType) {
|
switch (videoType) {
|
||||||
|
@ -314,6 +314,8 @@ RTPSenderVideo::SendVideo(const RtpVideoCodecTypes videoType,
|
|||||||
{
|
{
|
||||||
return retVal;
|
return retVal;
|
||||||
}
|
}
|
||||||
|
WEBRTC_TRACE(kTraceStream, kTraceRtpRtcp, _id, "%s(timestamp:%u)",
|
||||||
|
__FUNCTION__, captureTimeStamp);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2073,6 +2073,8 @@ WebRtc_Word32 ViEChannel::FrameToRender(VideoFrame& video_frame) {
|
|||||||
arr_ofCSRC[0] = rtp_rtcp_.RemoteSSRC();
|
arr_ofCSRC[0] = rtp_rtcp_.RemoteSSRC();
|
||||||
no_of_csrcs = 1;
|
no_of_csrcs = 1;
|
||||||
}
|
}
|
||||||
|
WEBRTC_TRACE(kTraceStream, kTraceVideo, ViEId(engine_id_, channel_id_),
|
||||||
|
"%s(timestamp:%u)", __FUNCTION__, video_frame.TimeStamp());
|
||||||
DeliverFrame(video_frame, no_of_csrcs, arr_ofCSRC);
|
DeliverFrame(video_frame, no_of_csrcs, arr_ofCSRC);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user