mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-01-27 23:59:43 -05:00
Also modifies UI. This allows the direct use of passphrase (SRT & RIST) used for encryption, user + password (RIST) as well as streamid (SRT). Previously, these parameters had to be set in the URL in the form: URL?option1=value1&option2=value2. They still can but there is also the option to set them in the stream key and username/password fields. SRT: - the stream_id is set in the stream key (more info on it: [1]); - the encryption passphrase is set in the password auth field. RIST: - the encryption passphrase is set in the stream key; - the srp_username and srp_password are set in the user/password auth fields [2]. Additionally, some error logging has been added when there's a disconnect caused by a wrong password. Lastly, this solves a bug when auto-reconnect is set and a wrong passphrase is provided for srt; the output would keep trying to reconnect. With this commit, an OBS_OUTPUT_INVALID_STREAM signal is emitted and the stream is immediately stopped. [1] https://github.com/Haivision/srt/blob/master/docs/features/access-control.md [2] https://code.videolan.org/rist/librist/-/wikis/Authentication-and-the-ristsrppasswd-Utility Signed-off-by: pkv <pkv@obsproject.com>
40 KiB
40 KiB