diff --git a/go2rtc/data/go2rtc.yaml b/go2rtc/data/go2rtc.yaml index ef7f6a2..3826679 100644 --- a/go2rtc/data/go2rtc.yaml +++ b/go2rtc/data/go2rtc.yaml @@ -12,12 +12,15 @@ rtsp: webrtc: listen: ":8555" +ffmpeg: + loop: "-re -stream_loop -1 -i {input}" + streams: - bunny: "ffmpeg:BigBuckBunny_320x180.mp4#video=h264#audio=aac" + bunny: "ffmpeg:BigBuckBunny_320x180.mp4#video=h264#audio=aac#input=loop" #usbcam: "ffmpeg:device?video=0&video_size=1280x720#video=h264" #publish: - #bunny: "rtmps://xxx.rtmp.youtube.com/live2/xxxx-xxxx-xxxx-xxxx-xxxx" + #bunny: "rtmp://a.rtmp.youtube.com/live2/xxxx-xxxx-xxxx-xxxx-xxxx" log: level: info