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

Method to Convey Multiple SSRCs for a given stream #1

Closed
kyzer-davis opened this issue Aug 4, 2023 · 1 comment · Fixed by #14
Closed

Method to Convey Multiple SSRCs for a given stream #1

kyzer-davis opened this issue Aug 4, 2023 · 1 comment · Fixed by #14
Labels

Comments

@kyzer-davis
Copy link
Owner

kyzer-davis commented Aug 4, 2023

Need to provide context when multiple SSRCs are being multiplexed.
Current text states to use EKT-SRTP for this but could be a solution available:

Solution A:

Multiple a=srtpctx lines each with a given identifier where the first number corresponds with the a=crypto tag and the second number corresponds with the multiplxed SSRC identifier

a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:d0RmdmcmVCspeEc3QGZiNWpVLFJhQX1cfHAwJSo
a=srtpctx:1:1 ssrc=0x01;roc=0x0;seq=0x1234
a=srtpctx:1:2 ssrc=0x02;roc=0x1;seq=0xABCD
a=srtpctx:1:3 ssrc=0x845fed;roc=0x0000;seq=unknown

Solution B:

Cram everything into one a=srtpctx line as a list and wrap each multiplexed item in parenthesis.

a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:d0RmdmcmVCspeEc3QGZiNWpVLFJhQX1cfHAwJSo
a=srtpctx:1 (ssrc=0x01;roc=0x0;seq=0x1234), (ssrc=0x02;roc=0x1;seq=0xABCD), (ssrc=0x845fed;roc=0x0000;seq=unknown)
@valvo27
Copy link
Collaborator

valvo27 commented Aug 10, 2023

Solution A is cleaner and easier to read for humans.

kyzer-davis added a commit that referenced this issue Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants