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

Expose video controls boolean in mediamtx.yml options #2680

Closed
marshallmassengill opened this issue Nov 12, 2023 · 3 comments
Closed

Expose video controls boolean in mediamtx.yml options #2680

marshallmassengill opened this issue Nov 12, 2023 · 3 comments

Comments

@marshallmassengill
Copy link

Describe the feature

Apologies for opening this again - whiffed on the template again. Firstly, I love this program. It's been a breath of fresh air in learning about webrtc. Secondly, it would be awesome if the video.controls boolean was exposed within the mediamtx.yml. It's not too bad compiling it from source and editing the html files but it would be awesome if it was exposed in the config. Thanks!

@elson-currentcorp
Copy link

In theory, you should be able to set the video element options through URL parameters as implemented in the webRTC read file:

https://github.com/bluenviron/mediamtx/blob/main/internal/core/webrtc_read_index.html

http://mediamtx-server:port/stream?controls=false

Unfortunately this doesn't work for me, can anyone else confirm if it is a bug?

@aler9
Copy link
Member

aler9 commented Dec 16, 2023

Hello, you can already do this by appending controls=0 or controls=1 to the URL:

http://localhost:8889/test/?controls=0
http://localhost:8889/test/publish?controls=0

@aler9 aler9 closed this as not planned Won't fix, can't repro, duplicate, stale Dec 16, 2023
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 Jun 20, 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

3 participants