datarhei / gosrt

Implementation of the SRT protocol in pure Go
https://datarhei.com
MIT License
102 stars 15 forks source link

Feature Request: Different receiver and publisher tokens #7

Closed SerethiX closed 1 year ago

SerethiX commented 1 year ago

In an environment where it would not be save to give the srt token to the receivers, it would be great to have separate tokens for publishing and a different token to receive the content.

mode=publish,token:<shared-token>,secret-token:<secret-token> mode=re quest,token:<shared-token>

That way a malicious receiver would not be able to stream to the same channel once the publisher disconnects.

ioppermann commented 1 year ago

This is up to the implementation of the SRT server. The contributed server is only for demonstration purposes and can act as a starting point for your own implementation of a server.

If you are coming from our Restreamer project datarhei/restreamer, then I can tell you that we're currently working on a solution that will solve this problem.