[cast_streaming] End the session when both streams send no data for 15s
Previously, the Cast Streaming Session would be ended after either the audio or video stream received no data for 15s. However, some Cast Streaming Senders sometimes do not send video data for longer than that when there is no video update to send, resulting in the session being prematurely ended. This changes the Cast Streaming Receiver behavior to only end the session if no audio and no video data is received for 15 seconds. As a result, the frame duration has been changed to 10 minutes to prevent a demuxer underflow in the Chrome media pipeline, resulting in delayed playback. Bug: 1166371, b/172139177 Change-Id: I2f66ca009bdedb00ae79ac8e9dda8cc2ebcd16af Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2617363 Commit-Queue: Fabrice de Gans-Riberi <fdegans@chromium.org> Reviewed-by:Sergey Ulanov <sergeyu@chromium.org> Cr-Commit-Position: refs/heads/master@{#843227}
Showing
Please register or sign in to comment