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/MediaMTX Support #349

Open
4 tasks done
ihatemyisp opened this issue Mar 26, 2024 · 3 comments
Open
4 tasks done

WebRTC/MediaMTX Support #349

ihatemyisp opened this issue Mar 26, 2024 · 3 comments
Labels
feature-request New feature or request

Comments

@ihatemyisp
Copy link

Feature Request

Problem Description

I use a couple of Wyze cameras to monitor my printer and enclosure. They are streamed to Mainsail via WyzeBridge which uses WebRTC/MediaMTX. Support for MediaMTX is baked into Mailsail and it works flawlessly.

Proposed Solution

Add WebRTC/MediaMTX support.

Alternatives Considered

Unfortunately in my case, there is no alternative that makes sense.

Additional Context

None necessary, I believe.


Checklist
To help us understand your feature request, please ensure you've covered the following points:

  • Provided a clear description of the problem you're facing.
  • Clearly outlined the proposed solution or feature.
  • Mentioned any alternative solutions or ideas you've considered.
  • Included any relevant context or supporting materials.

Your input is valuable in shaping the development of our project. Thank you for taking the time to submit your feature request!

@ihatemyisp ihatemyisp added the feature-request New feature or request label Mar 26, 2024
@Clon1998
Copy link
Owner

Can you provide me an example code that shows how the messaging for MediaMTX works?

@ihatemyisp
Copy link
Author

I've actually been digging through it trying to figure out if I could get this working myself. I'm having issues making heads or tails of all of it, hah.

WyzeBridge gives me a WebRTC URL (i.e., http://3d2.lan:8889/sv06-plus/) and I plug that into Mainsail. I got started down this rabbit hole via the Crowsnest docs: https://crowsnest.mainsail.xyz/faq/how-to-use-wyze-cams.

When I load the URL by itself I get a player and the stream starts. Here's the source from that: https://url.vogon.dev/YellowGummyNorth

Now that I'm thinking about it, I kind of feel like I could've looked at the Mainsail source and tried to grab more info on how they did it before posting. My apologies.

@ihatemyisp
Copy link
Author

https://github.com/mainsail-crew/mainsail/blob/develop/src/components/webcams/streamers/WebrtcMediaMTX.vue

It looks very similar to their WebrtcGo2rtc implementation...I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants