GOP cache with pion-webrtc

Skip to first unread message


Nov 7, 2021, 11:28:54 PMNov 7
to discuss-webrtc
I have been using pion/webrtc ( to build a media server that can demux a RTSP stream and mux it into WebRTC protocol so that the video can be played on a browser.

But there is a problem if the media server has connected to RTSP stream and then a new session is opened by a new user on a browser, the user might experience a few seconds of a black screen waiting for the I-FRAME.

So I maintained a cached GOP of frames on the media server and send it to the client when a new session has been made, but the user still has to wait for a few seconds.

I'm wondering if WebRTC inside chrome has rejected my GOP cache for some reason or any other solution? Thanks!
Reply all
Reply to author
0 new messages