Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
AfonsoVilalonga opened this issue Nov 15, 2024 · 1 comment
Closed

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

AfonsoVilalonga opened this issue Nov 15, 2024 · 1 comment

Comments

@AfonsoVilalonga
Copy link
Contributor

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

@nils-ohlmeier
Copy link

Even though it's a little too late, but maybe still useful if someone looks at this in the future:

Yes it is pretty normal for the receiver to send PLI's right after the connection gets established (and it should not be specific to Firefox). It basically depends on the exact timing. If the sender sends the initial frames too soon/early for the receiver, then the receiver fail decoding just the P-frames. Thus it needs a new I-frame to be able to start decoding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants