Anurag Goel Posted September 14, 2020 Share Posted September 14, 2020 I'm trying to stream video via WebRTC from browser and trying to get RTMP output from ant media, But when i try to publish RTMP stream on periscope/vimeo livestream/ periscope, my stream is getting freezed. Its showing "keyframe interval" error, somehow i'm getting video stream with "keyframe interval" of 20 second which is very high. Both periscope and livestream platform do expect "keyframe interval" of 2-3 second max. Is there anyway to set keyframe interval in ant-media ? Link to comment Share on other sites More sharing options...
0 Burak Posted September 17, 2020 Share Posted September 17, 2020 Hi, Actually for WebRTC streams keyframe internal is set to 2 seconds. After your mail I have made a test and measure it again on endpoint side it is 2 seconds. Can you test it on your side while publishing to Periscope at the same time? Here are the steps: - Install ffmpeg if you don't have - Create an RTMP endpoint with: ffmpeg -listen 1 -i rtmp://localhost:1983/live -c copy test.mp4 - Start WebRTC publish - Add the RTMP endpoint to your stream - Finish the stream - Check the keyframes in the test.mp4 with ffprobe -loglevel error -select_streams v:0 -show_entries packet=pts_time,flags -of csv=print_section=0 test.mp4 | awk -F',' '/K/ {print $1}' Link to comment Share on other sites More sharing options...
Question
Anurag Goel
I'm trying to stream video via WebRTC from browser and trying to get RTMP output from ant media,
But when i try to publish RTMP stream on periscope/vimeo livestream/ periscope, my stream is getting freezed.
Its showing "keyframe interval" error, somehow i'm getting video stream with "keyframe interval" of 20 second which is very high.
Link to comment
Share on other sites
Top Posters For This Question
1
1
Popular Days
Sep 14
1
Sep 17
1
Top Posters For This Question
Burak 1 post
Anurag Goel 1 post
Popular Days
Sep 14 2020
1 post
Sep 17 2020
1 post
1 answer to this question
Recommended Posts