mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-19 05:45:58 +00:00
janus: Add picture-id-mode=2 to VP8 payloading
This writes an extended header and Picture-ID into each RTP packet which makes Janus able to detect which frames are keyframes and to request replacement keyframes.
This commit is contained in:
parent
d8e7687132
commit
1f1233064f
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ gi.require_version('GstSdp', '1.0')
|
|||
from gi.repository import GstSdp
|
||||
|
||||
if DO_VP8:
|
||||
( encoder, payloader, rtp_encoding) = ( "vp8enc target-bitrate=500000", "rtpvp8pay", "VP8" )
|
||||
( encoder, payloader, rtp_encoding) = ( "vp8enc target-bitrate=100000 overshoot=25 undershoot=100 deadline=33000 keyframe-max-dist=1", "rtpvp8pay picture-id-mode=2", "VP8" )
|
||||
else:
|
||||
( encoder, payloader, rtp_encoding) = ( "x264enc", "rtph264pay", "H264" )
|
||||
|
||||
|
|
Loading…
Reference in a new issue