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

Controlling the generation of SSRC from outside #2469

Closed
wants to merge 1 commit into from

Conversation

FizikRoot
Copy link

Description

Control ssrc from outside of webrtc module

Reference issue

Fixes #...

@Sean-Der
Copy link
Member

Sean-Der commented May 5, 2023

Hi @FizikRoot

thanks for the contribution! What problem are you trying to solve?

We won’t be able to store SSRC on the TrackLocal unfortunately. They will need to be per RTPSender. Not against providing a hook for this, I just don’t want to break other stuff.

Maybe using ORTC might be better here?

@FizikRoot
Copy link
Author

We have 2 cases:

  1. Dynamic rerouting of rtp traffic in backend, if one of the servers dies we would like not to change the ssrc
  2. We have parallel mcu and sfu system for audio. And for correct using mcu we need to know ssrc. Either use a hack to get the generated new srss after installing the messaging

@Sean-Der
Copy link
Member

Sean-Der commented May 5, 2023

Both super cool use cases! Yea we need this.

ok let me look at API tonight. This needs to be on RTPSender. If that doesn’t work we will add SettingEngine.SSRCGenerator

@lamhai1401
Copy link

Hi @Sean-Der, could you please provide information on this issue? My use case is as follows, and I would like to modify the SSRC number

@Sean-Der
Copy link
Member

This is now available! Sorry for the delay @FizikRoot @lamhai1401

See here for a test that sets the SSRC to 5000 explicitly.

@Sean-Der Sean-Der closed this Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants