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

Support multiple passphrase by multiple srt_server #3468

Open
winlinvip opened this issue Mar 15, 2023 · 0 comments
Open

Support multiple passphrase by multiple srt_server #3468

winlinvip opened this issue Mar 15, 2023 · 0 comments
Assignees
Labels
EnglishNative This issue is conveyed exclusively in English. SRT It's about SRT protocol.

Comments

@winlinvip
Copy link
Member

winlinvip commented Mar 15, 2023

To support multiple passphrase for SRT.

It's impossible to support different passphrase for a srt_server, because passphrase is set on transport or srt_server, so you should use http callback if use one srt_server.

But, if support multitple srt_server, it's possible to support multiple passphrase:

srt_server {
    listen 10080;
    method publish; # The default m is publish
    passphrase xxx; # The passphrase for publish
}

srt_server {
    listen 10081;
    method request; # The default m is request
    passphrase yyy; # The passphrase for request
}

The multiple srt_server is useful not only for passphrase, bu it also enable user to support default method by port, for example, 10080 is publish, and 10081 is request, which is essential if device doesn't support SRT URL.

Note that the env config can only be applied to the first srt_server.

@winlinvip winlinvip added the SRT It's about SRT protocol. label Mar 15, 2023
@winlinvip winlinvip added the EnglishNative This issue is conveyed exclusively in English. label Jul 29, 2023
@winlinvip winlinvip assigned winlinvip and unassigned xiaozhihong and runner365 Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EnglishNative This issue is conveyed exclusively in English. SRT It's about SRT protocol.
Projects
None yet
Development

No branches or pull requests

3 participants