pion / webrtc

Pure Go implementation of the WebRTC API
https://pion.ly
MIT License
13.9k stars 1.66k forks source link

Firefox PLI Requests in "Play from Disk" Example #2951

Open AfonsoVilalonga opened 2 weeks ago

AfonsoVilalonga commented 2 weeks ago

Hello,

I was testing the Pion "play from disk" example with Firefox while monitoring the network traffic using Wireshark and observed an interesting behavior. At the start of the connection, Firefox consistently sends 5 PLI requests.

I then investigated this further using the WebRTC Encoded Streams API. It appears, at least to me (though I could be mistaken), that Firefox does not initially receive a key frame but rather some delta frames, which might be causing this issue.

I am unsure whether this behavior is induced by Firefox or Pion; however, I thought it was interesting to share.

Is this a commonly known behavior? Or am I missing something?

Thank you, Afonso Vilalonga