Skip to content
New issue

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

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

Already on GitHub? # to your account

YouTube Streaming not work #1574

Open
Loafter opened this issue Jan 28, 2025 · 10 comments
Open

YouTube Streaming not work #1574

Loafter opened this issue Jan 28, 2025 · 10 comments
Assignees
Labels
bug Something isn't working

Comments

@Loafter
Copy link

Loafter commented Jan 28, 2025

So i followed manual fill config file.
And this is not work, i don't see any evidence that something trying start publishing to youtube server.
i try open fixed stream (Parking_transcode) with aac codec and it's work normal i check it in VLC player.

streams:
  Dacha_Basement:
    - rtsp://192.168.3.2:554/11#timeout=10
  Dacha_Kitchen:
    -  rtsp://192.168.3.33:554/user=admin_password=LFjb3Dxx_channel=0_stream=0&protocol=unicast&onvif=ture.sdp?real_stream#timeout=10
  Dacha_Road:
    - rtsp://192.168.3.130:554/11#timeout=10
  Dacha_Heater:
    - rtsp://192.168.3.133:554/user=admin_password=LFjb3Dxx_channel=0_stream=0&protocol=unicast&onvif=ture.sdp?real_stream#timeout=10
  Dacha_Rehab:
    - rtsp://192.168.3.12:554/user=admin_password=LFjb3Dxx_channel=0_stream=0&protocol=unicast&onvif=ture.sdp?real_stream#timeout=10
  Moscow_Garage:
    - rtsp://192.168.6.4:554/11#timeout=10
  Moscow_Caricino:
    - rtsp://192.168.7.179:554/user=admin_password=LFjb3Dxx_channel=0_stream=0&protocol=unicast&onvif=ture.sdp?real_stream#timeout=10
  Pro_Kitchen:
    - rtsp://192.168.2.145:554/user=admin_password=LFjb3Dxx_channel=0_stream=0&protocol=unicast&onvif=ture.sdp?real_stream#timeout=10
  Pyat_Сourtyard:
    - rtsp://192.168.8.95:554/11#timeout=10
  Pyat_Kitchen:
    - rtsp://192.168.8.61:554/user=admin_password=LFjb3Dxx_channel=0_stream=0&protocol=unicast&onvif=ture.sdp?real_stream#timeout=10
  Pro_Parking:
    - rtsp://192.168.2.15:554/11#timeout=10
  Dacha_4K_Garden:
    - rtsp://192.168.3.41:554/stream0#timeout=30
  Dacha_Heater_Low:
    - rtsp://192.168.3.133:554/user=admin_password=LFjb3Dxx_channel=0_stream=1&protocol=unicast&onvif=ture.sdp?real_stream#timeout=10
  Dacha_Basement_Low:
    - rtsp://192.168.3.2:554/22#timeout=10
  Pro_Parking_Low:
    - rtsp://192.168.2.15:554/22#timeout=10
  Parking_transcode:
    - ffmpeg:rtsp://192.168.2.15:554/11#video=copy#audio=aac
publish:
    Parking_transcode:
    - rtmp://a.rtmp.youtube.com/live2/tcjb-xxxx-yfx8-wd2a-b1km
webrtc:
  ice_servers:
    - urls: [stun:stun.l.google.com:19302]
@AlexxIT AlexxIT added the question Further information is requested label Jan 28, 2025
@AlexxIT
Copy link
Owner

AlexxIT commented Jan 28, 2025

You haven't provide go2rtc version. And any info about "Parking_transcode" stream. Codecs, etc.

@Loafter
Copy link
Author

Loafter commented Jan 28, 2025

You haven't provide go2rtc version. And any info about "Parking_transcode" stream. Codecs, etc.

Of course, Sorry
Version: 1.9.8, Docker enviroment on OpenWrt.
Direct stream from camera
Image

@Loafter
Copy link
Author

Loafter commented Jan 28, 2025

And after audio conversion

Image

@AlexxIT AlexxIT self-assigned this Jan 28, 2025
@AlexxIT AlexxIT added bug Something isn't working and removed question Further information is requested labels Jan 28, 2025
@AlexxIT
Copy link
Owner

AlexxIT commented Jan 28, 2025

Codecs are fine. I need to check the same situation.

@delgado23
Copy link

delgado23 commented Jan 30, 2025

I am seeing the same thing.

Version: 1.9.8

Config:

streams:
  weather: rtsp://e0Ed0Kccc5TM:z2uhaehxxxxy@10.248.1.3/live0
publish:
  weather: rtmp://a.rtmp.youtube.com/live2/21m8-m9xb-fpx9-xxx-xxx

I believe my codecs
Image

Please let me know if you need anymore information.

@delgado23
Copy link

I downgraded to version 1.9.2 and streaming started working again with the same config. I just figured I would provide that information.

@AlexxIT
Copy link
Owner

AlexxIT commented Jan 31, 2025

If you don't mind - find the exact version where the functionality is broken (from 1.9.2 to 1.9.8).

@Tester798
Copy link

RTMP publish doesn't work for me too, starting from 1.8.0 and up to the latest 1.9.8.
Tried with twitch and vkvideo.
In CurrPorts I can see the connection to the RTMP server appears for a second, and then disappears.
On vkvideo in streaming panel I notice "Live" icon and buffering starts for a moment, but then stream goes "Offline" again.

Also noticed that if I launch go2rtc before I start streaming to it in OBS, I'm getting this error and then publish isn't working at all:
Image

My config looks like this:

log:
  level: trace

rtsp:
  listen: ""

api:
  listen: ""

webrtc:
  listen: ""

rtmp:
  listen: "127.0.0.1:1935"

publish:
  test:
    - rtmp://ingest.global-contribute.live-video.net/app/live_xxxxxxxx

streams:
  test:

@AlexxIT
Copy link
Owner

AlexxIT commented Feb 12, 2025

@Tester798 this is "normal" error. Go2rtc reports that it cannot start the broadcast.

@Taik
Copy link

Taik commented Feb 14, 2025

If you don't mind - find the exact version where the functionality is broken (from 1.9.2 to 1.9.8).

@AlexxIT I was able to bisect -- looks like the issue started from 1.9.3 onwards.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants