GNOME Bugzilla – Bug 796748
rtph264pay: SPS/PPS is injected even if already present
Last modified: 2018-08-16 13:49:51 UTC
With config-interval=1, duplicate SPS/PPS units are injected even if the IDR frame is already immediately preceded by such.
Created attachment 372944 [details] [review] rtph264pay: Update last_spspps timestamp on idempotent SPS/PPS It seems that rtph264pay skips updating the last_spspps timestamp if the units it gets contain no new configuration. This results in duplicate injections.
please do the same for h265 and other codecs with out-of-band + in-band codec data :)
Created attachment 373339 [details] [review] rtph26*pay: Update param set timestamp even if parameters unchanged rtph264pay and rtph265pay skip updating the parameter set timestamp if the units they see contain no new configuration. This can result in them injecting duplicate parameters. --- I looked through the payloaders having config-interval and only found a similar problem in the H.265 code.
Attachment 373339 [details] pushed as 2075821 - rtph26*pay: Update param set timestamp even if parameters unchanged