Skip to content

Routing tracks correctly in an SFU #94

Closed Answered by LVala
srcrip asked this question in Q&A
Discussion options

You must be logged in to vote

You don't seem to send a keyframe request when a new peer joins, which would explain why the joining peer cannot decode video from already present peers (or it starts to work fine after a while, when the browser decides to encode a new keyframe for unrelated reasons, probably). Read this if you don't know what a keyframe is.

When a new peer is added, you should prompt other peers to encode a keyframe by sending a FIR or PLI RTCP feedback to them (both will result in a new keyframe, although FIR is probably more semantically correct in this case).

I've added both FIR and PLI to ex_rtcp, but it hasn't been released yet so you have to use

{:ex_rtcp, github: "elixir-webrtc/ex_rtcp", override: t…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@LVala
Comment options

LVala Mar 27, 2024
Collaborator

Answer selected by LVala
@srcrip
Comment options

@srcrip
Comment options

@srcrip
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants