From 6e3d25330f2d5e3f10050cabc5bfd50c7414b514 Mon Sep 17 00:00:00 2001 From: kevin Date: Fri, 19 Apr 2024 16:10:41 +0800 Subject: [PATCH] update go2rtc --- go2rtc/data/go2rtc.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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