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

Forward RTCP packets from WHIP connections to WHEP sessions #116

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

esonderegger
Copy link

This PR adds forwarding of RTCP packets from the RTP receivers for each track of WHIP connections, sending them to the peer connections of the stream's WHEP sessions.

I'm brand new to the broadcast-box code base and I have two questions:

  1. Is it bad to be adding a reference to the peerConnection to the whepSession struct like this? Could this lead to memory leaks?
  2. Should we be forwarding all RTCP packets or just certain types? For example, should we be forwarding sender reports but ignoring source descriptions?

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

Successfully merging this pull request may close these issues.

1 participant