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

Add support for go2rtc #304

Closed
Xelinor opened this issue Dec 26, 2023 · 4 comments
Closed

Add support for go2rtc #304

Xelinor opened this issue Dec 26, 2023 · 4 comments
Labels
feature-request New feature or request

Comments

@Xelinor
Copy link

Xelinor commented Dec 26, 2023

Feature Request

Problem Description

I'm unable to view my camera feeds in Mobileraker that use WebRTC streams provided via go2rtc

Proposed Solution

Add support for the go2rtc WebRTC camera feeds

Additional Context

Mainsail commits that enabled this functionality:
mainsail-crew/mainsail#1651

go2rtc documentation:
https://github.com/AlexxIT/go2rtc

@Xelinor Xelinor added the feature-request New feature or request label Dec 26, 2023
@Clon1998
Copy link
Owner

Hey,
I am struggling with setting up go2rtc.
I was able to add a source stream and can also watch that stream via MJPEG. However, If I select WebRtc via the admin UI or try using Mainsail I don't get any video feed.

@Xelinor
Copy link
Author

Xelinor commented Dec 28, 2023

Your URL to view a stream should look something like this: http://local.ip:port/stream.html?src=configured_name

So for mine it's http://192.168.68.101:1984/stream.html?src=build_plate

And then (at least in Mainsail) you would select WebRTC(go2rtc)

I'm using go2rtc to use an RTSP security camera (eufy) as the WebRTC source, if that helps at all? And it's running through home assistant locally, so home assistant receives the RTSP stream and handles the conversion to WebRTC.

Hopefully that helps? Or is there an aspect of go2rtc that is tripping you up maybe?

@Clon1998
Copy link
Owner

Thanks,
I figured it out. The problem was that I needed to transcode my jpeg input to H265

@Xelinor
Copy link
Author

Xelinor commented Dec 29, 2023

My dude you are the best, thank you :)

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