restreamer icon indicating copy to clipboard operation
restreamer copied to clipboard

Restreamer's provided SRT address incompatible with OBS when special characters are used

Open kyelewis opened this issue 1 year ago • 2 comments

When setting up a new video channel with an SRT source, the SRT URL provided to copy in restreamer will not work in OBS if there are some special characters.

Example with passphrase "def456@"

Restreamer provides: srt://192.168.0.1:6000?mode=caller&transtype=live&streamid=1bc02834-4604-438c-924c-f3de259887bc.stream,mode:publish,token:abc123&passphrase=def456%40

OBS requires: srt://192.168.0.1:6000?mode=caller&transtype=live&streamid=1bc02834-4604-438c-924c-f3de259887bc.stream,mode:publish,token:abc123&passphrase=def456@

kyelewis avatar May 08 '24 23:05 kyelewis

(Open to discussion whether the restreamer or OBS behaviour is incorrect here, but worth discussing)

kyelewis avatar May 08 '24 23:05 kyelewis

This is indeed worth discussing. The SRT URL uses the query syntax to transport values for options. This should allow character encoding and should be decoded by OBS.

ioppermann avatar May 17 '24 10:05 ioppermann