--
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrtc+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/6537d54d-6417-4fdd-be39-02dc94e7624e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi,
I'm studying some lip sync delays that grow linearly, which is a problem that happens when the source stream is originated by a GStreamer pipeline using a pitch-modifying filter. googCurrentDelayMs grows linearly in Chrome when it receives such stream, and both googMinPlayoutDelayMs and googTargetDelayMs grow very rapidly up until the maximum value of 10000 ms.
This means that Chrome is receiving a video+audio stream and, for some reason, decides that the audio is lagging behind the video, so the video should be delayed in order to synchronize both. The symptoms are practically the same as described in this bug: https://bugs.chromium.org/p/webrtc/issues/detail?id=5456
This is my capture:
However the actual reason for the issue must be different that in the linked bug report; I'm using here a GStreamer plugin that changes the audio pitch, but whenever any other plugin is used, this issue doesn't happen. My question is, what is the reason for such a delay in Chrome? Is it related to RTP sequence numbers? Clock rate? Bad PTS/DTS? Or in other words: from where does Chrome take the information that is later used for lip sync, that could affect in this way if it's wrong?
I've been trying to follow WebRTC's code, but still unsure about the exact point in which the decision is taken to raise the delay amount. I'd like to have as much information as possible to hand it out to the GStreamer community and make it easier to help.
I have captured all information I could think of: diagnostic audio recordings (Chrome's fake audio), diag. packet and event recording, webrtc-internals dump, chrome debug log.
Using Chromium (68.0.3440.106) and Chrome (69.0.3497.81).
--
---
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/k9so0_12pqM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to discuss-webrt...@googlegroups.com.
do a pcap, check the rtp timestamps for both audio and video packets and see if they increase at different rates.
2018-09-06 19:35 GMT+02:00 Juan Navarro <juan.n...@gmx.es>:
Hi,I'm studying some lip sync delays that grow linearly, which is a problem that happens when the source stream is originated by a GStreamer pipeline using a pitch-modifying filter. googCurrentDelayMs grows linearly in Chrome when it receives such stream, and both googMinPlayoutDelayMs and googTargetDelayMs grow very rapidly up until the maximum value of 10000 ms.This means that Chrome is receiving a video+audio stream and, for some reason, decides that the audio is lagging behind the video, so the video should be delayed in order to synchronize both. The symptoms are practically the same as described in this bug: https://bugs.chromium.org/p/webrtc/issues/detail?id=5456This is my capture:However the actual reason for the issue must be different that in the linked bug report; I'm using here a GStreamer plugin that changes the audio pitch, but whenever any other plugin is used, this issue doesn't happen. My question is, what is the reason for such a delay in Chrome? Is it related to RTP sequence numbers? Clock rate? Bad PTS/DTS? Or in other words: from where does Chrome take the information that is later used for lip sync, that could affect in this way if it's wrong?I've been trying to follow WebRTC's code, but still unsure about the exact point in which the decision is taken to raise the delay amount. I'd like to have as much information as possible to hand it out to the GStreamer community and make it easier to help.I have captured all information I could think of: diagnostic audio recordings (Chrome's fake audio), diag. packet and event recording, webrtc-internals dump, chrome debug log.Using Chromium (68.0.3440.106) and Chrome (69.0.3497.81).
--
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrtc+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/0149cfcd-3848-4c02-802f-449e8899b218%40googlegroups.com.