Hi Muhammad!
I believe your statement holds true for a typical WebRTC session (e.g.
a client connected to a remote server with a good network connection).
However, in my specific scenario, I'm running all processes locally on
the same machine, and the round-trip time (RTT) is consistently below
2 milliseconds,
I have abundant encoding and decoding resources at my disposal, and
there are no congestion points anywhere in the data flow.
I have disabled an audio stream to avoid all kinds of sync issues.
minPlayoutDelay stays on 0. Jitter is 0.001. PacketsLost is 0.
nackCount stays on 0. I've set kStartDelayMs and kMax to 0.
As per logs, from the time the event was triggered to the
"OnFrameBufferUpdated" delay is about 17ms.
But yet an additional rendering lag of 100 ms comes from nowhere in my setup.
Here is a log produced by webrtc_video_engine as you've requested (not
sure how it can be useful to resolve my issue):
[425765:12:0922/063713.757668:INFO:webrtc_video_engine.cc(753)]
WebRtcVideoEngine::WebRtcVideoEngine()
[425765:13:0922/063713.778952:VERBOSE1:webrtc_video_engine.cc(1584)]
OnReadyToSend: Not ready.
[425765:13:0922/063713.779930:INFO:webrtc_video_engine.cc(1119)]
SetSenderParameters: {codecs: [VideoCodec[96:H264],
VideoCodec[97:red], VideoCodec[98:ulpfec], VideoCodec[99:rtx],
VideoCodec[100:rtx]], conference_mode: no, extensions: [{uri:
http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01,
id: 1}], extmap-allow-mixed: false, max_bandwidth_bps: -1, mid:
video0}
[425765:13:0922/063713.780259:INFO:webrtc_video_engine.cc(1127)]
Negotiated codec: VideoCodec[96:H264]
[425765:13:0922/063713.780404:INFO:webrtc_video_engine.cc(2815)]
AddRecvStream: {id:webrtctransceiver0;ssrcs:[726735724,1405591231];ssrc_groups:{semantics:FID;ssrcs:[726735724,1405591231]};cname:user4072096014@host-fcf5e148;stream_ids:user4072096014@host-fcf5e148;}
[425765:13:0922/063713.782051:VERBOSE1:webrtc_video_engine.cc(2777)]
SetReceive: false
[425765:13:0922/063713.783512:VERBOSE1:webrtc_video_engine.cc(1370)]
SetSend: false
[425765:13:0922/063713.784416:INFO:webrtc_video_engine.cc(2972)]
SetSink: ssrc:726735724 (ptr)
[425765:13:0922/063713.824854:VERBOSE1:webrtc_video_engine.cc(2777)]
SetReceive: false
[425765:13:0922/063713.826594:VERBOSE1:webrtc_video_engine.cc(1370)]
SetSend: false
[425765:13:0922/063713.827270:INFO:webrtc_video_engine.cc(2717)]
SetReceiverParameters: {codecs: [VideoCodec[96:H264],
VideoCodec[97:red], VideoCodec[98:ulpfec], VideoCodec[99:rtx],
VideoCodec[100:rtx]], extensions: [{uri:
http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01,
id: 1}]}
[425765:13:0922/063713.828291:INFO:webrtc_video_engine.cc(2723)]
Changing FlexFEC payload type (recv) from 49 to -1
[425765:13:0922/063713.828448:INFO:webrtc_video_engine.cc(2734)]
Changing recv codecs from {VideoCodec[96:VP8], VideoCodec[98:VP9],
VideoCodec[100:VP9], VideoCodec[35:VP9], VideoCodec[37:VP9],
VideoCodec[102:H264], VideoCodec[104:H264], VideoCodec[106:H264],
VideoCodec[108:H264], VideoCodec[110:H264], VideoCodec[39:H264],
VideoCodec[41:H264], VideoCodec[43:H264], VideoCodec[45:AV1],
VideoCodec[47:AV1]} to {VideoCodec[96:H264]}
[425765:13:0922/063713.830277:VERBOSE1:webrtc_video_engine.cc(2777)]
SetReceive: true
[425765:13:0922/063713.830454:VERBOSE1:webrtc_video_engine.cc(1370)]
SetSend: false
[425765:13:0922/063713.918954:VERBOSE1:webrtc_video_engine.cc(1584)]
OnReadyToSend: Ready.
[425765:13:0922/063713.926355:VERBOSE1:webrtc_video_engine.cc(2777)]
SetReceive: true
[425765:13:0922/063713.926410:VERBOSE1:webrtc_video_engine.cc(1370)]
SetSend: false
> --
> This list falls under the WebRTC Code of Conduct -
https://webrtc.org/support/code-of-conduct.
> ---
> You received this message because you are subscribed to a topic in the Google Groups "discuss-webrtc" group.
> To unsubscribe from this topic, visit
https://groups.google.com/d/topic/discuss-webrtc/glPKevi1jok/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
discuss-webrt...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/discuss-webrtc/b1a52a0f-bc91-4a63-afe7-d504e59d2951n%40googlegroups.com.