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

[ enhancement ] Supports SRT Access Control streamid with recomended format #38

Open
calanor opened this issue Apr 16, 2024 · 1 comment · May be fixed by #39
Open

[ enhancement ] Supports SRT Access Control streamid with recomended format #38

calanor opened this issue Apr 16, 2024 · 1 comment · May be fixed by #39

Comments

@calanor
Copy link

calanor commented Apr 16, 2024

srtdelay way use for streamid the syntaxt:
(play|publish)/(stream-key)[/password]

It would be recommended if srtdelay could also support the access control methods as defined in the SRT
https://github.com/Haivision/srt/blob/master/docs/features/access-control.md

#!::m=(request|publish),r=(stream-key),u=(user),s=(password)

with your example:

# start publisher
ffmpeg -i test.mp4 -c copy -f mpegts 'srt://localhost:1337?streamid=#!::m=publish,r=test'
# start subscriber
ffplay -fflags nobuffer 'srt://localhost:1337?streamid=#!::m=request,r=test'

Some new hardware equipment comes prepared for use this type of syntax.

@calanor calanor changed the title [ enhancement ] Supports SRT Access Control streamid with standar format [ enhancement ] Supports SRT Access Control streamid with recomended format Apr 16, 2024
@iSchluff
Copy link
Member

This is something that we were thinking about in the beginning, but we couldn't find any device that supported it.

It would be interesting to know which encoder you have?

@iSchluff iSchluff linked a pull request Jun 11, 2024 that will close this issue
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 a pull request may close this issue.

2 participants