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

I can't link display+speaker, please help #1022

Open
Barabba11 opened this issue Mar 28, 2024 · 8 comments
Open

I can't link display+speaker, please help #1022

Barabba11 opened this issue Mar 28, 2024 · 8 comments
Labels
question Further information is requested

Comments

@Barabba11
Copy link

Hi, I?ve followed the instructions:
Create empty stream in the go2rtc.yaml
Go to go2rtc WebUI
Open links page for you stream
Select camera+microphone or display+speaker option
Open webrtc local page (your go2rtc should work over HTTPS!) or share link via WebTorrent technology (work over HTTPS by default)

I didn't know how to create an empty stream and couldn't find this anywhere, so I created a temporary stream by the api with address 127.0.0.1 (epty address won't be saved on config) and restarted, then on config I've deleted 127.0.0.1 so it became empty.
Then I clicked on links and there I clicked on display+speaker = broadcast software, but there isn't a button to save this on config, the next time it became again empty. So I clicked on webrtc.html local WebRTC viewer bu I see black screen, it doesn't work.

Can somebody please simply post here an example config yaml file for broadcasting RTC the desktop? It can be also with ffmpeg, I can't figure out myself. Thank you!

@Barabba11
Copy link
Author

Barabba11 commented Mar 28, 2024

I have this error:

go2rtc-error

what is this github.com/AlexxIi/go2rtc/internal/webrtc/webrtc.80:185 error?
on browser returns "not found"

@Barabba11
Copy link
Author

Barabba11 commented Mar 28, 2024

I've tried with ffmpeg trying to collect together random examples, bu i don't know the proper syntax

streams:
  test: ffmpeg:-f gdigrab -framerate 30 -i desktop
ffmpeg:
  bin: c:\ffmpeg.exe

the following command works and output the video with screen grabbed:
ffmpeg -f gdigrab -framerate 30 -i desktop c:log\output.mkv

I have this error:
go2rtc-error
and this error:

go2rtc-error

@Barabba11
Copy link
Author

I hope somebody can help me, thanks

@AlexxIT AlexxIT added the question Further information is requested label Apr 21, 2024
@AlexxIT
Copy link
Owner

AlexxIT commented Apr 21, 2024

Empty stream - just name without source.

@Barabba11
Copy link
Author

Empty stream - just name without source.

Thank you for your answer, can you please post me a correct script to use ffmpeg, in particular to open the desktop. I can't find an example that shows me how can I paasa arguments to ffmpeg. Thank you!!

@AlexxIT
Copy link
Owner

AlexxIT commented Apr 22, 2024

I don't know how to share desktop via FFmpeg from Windows

@Barabba11
Copy link
Author

With this command I'm able to record the desktop into a file, how can I use these parameters with go2rtc?
Thank you!
ffmpeg -f gdigrab -framerate 30 -i desktop c:log\output.mkv

@AlexxIT
Copy link
Owner

AlexxIT commented Apr 22, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants