Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebRTC AV1 publishing: Drop outs and browser support #2005

Closed
12 tasks
zapf2000 opened this issue Jun 30, 2023 · 3 comments
Closed
12 tasks

WebRTC AV1 publishing: Drop outs and browser support #2005

zapf2000 opened this issue Jun 30, 2023 · 3 comments

Comments

@zapf2000
Copy link

Which version are you using?

MediaMTX v0.0.0 (github Main clone 27.06.2023)

Which operating system are you using?

  • [x ] Linux amd64 standard
  • Linux amd64 Docker
  • Linux arm64 standard
  • Linux arm64 Docker
  • Linux arm7 standard
  • Linux arm7 Docker
  • Linux arm6 standard
  • Linux arm6 Docker
  • Windows amd64 standard
  • Windows amd64 Docker (WSL backend)
  • macOS amd64 standard
  • macOS amd64 Docker
  • Other (please describe)

Describe the issue

When publishing with WebRTC publisher and receiving with WebRTC player, the video has drop outs every 2 seconds and video is not playable at Chome for Android. Works fine in the Linux Desktop version.

Describe how to replicate the issue

Just use the following setup at WebRTC publisher and receive it via WebRTC player in a different tab or browser.

  1. start the server

xxx@studio1:~/mediamtx$ ./mediamtx
2023/06/30 11:37:06 INF MediaMTX v0.0.0
2023/06/30 11:37:06 DEB path manager created
2023/06/30 11:37:06 INF [RTSP] listener opened on :8554 (TCP), :8000 (UDP/RTP), :8001 (UDP/RTCP)
2023/06/30 11:37:06 INF [RTMP] listener opened on :1935
2023/06/30 11:37:06 INF [HLS] listener opened on :8888
2023/06/30 11:37:06 INF [WebRTC] listener opened on :8889 (HTTP)
2023/06/30 11:37:06 INF [API] listener opened on 127.0.0.1:9997

  1. publish with WebRTC publisher
    publish.txt
    publish av1

  2. read with WebRTC Player Chrome Desktop Linux
    receive chrome 114.0.5735.134 desktop linux.txt

with Chrome Android
receive chrome 114.0.5735.130 android.txt

And a video of it, showing the dropouts every 2 seconds

2023-06-27_20-38-19.mp4

Did you attach the server logs?

yes

Did you attach a network dump?

no

@aler9
Copy link
Member

aler9 commented Oct 6, 2023

Hello, regarding Android, from the logs it's clear that the smartphone you used to perform the test doesn't support decoding AV1.

Regarding Linux, stuttering is caused by the fact that your PC is is too slow in decoding AV1 - Chrome detects the delay and discards frames. This is a duplicate of #1697 and can be solved by adding a flag that introduces latency.

@aler9 aler9 closed this as not planned Won't fix, can't repro, duplicate, stale Oct 6, 2023
@zapf2000
Copy link
Author

zapf2000 commented Oct 6, 2023

No, aler9, it works perfect now... sorry i didn't close

Copy link
Contributor

This issue is being locked automatically because it has been closed for more than 6 months.
Please open a new issue in case you encounter a similar problem.

@github-actions github-actions bot locked and limited conversation to collaborators Apr 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants