obs-studio/plugins/obs-ffmpeg
pkv fcb6df1f63 obs-ffmpeg: Direct setting of encryption & auth for SRT & RIST
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>
2022-11-17 21:56:38 -05:00
..
data/locale Update translations from Crowdin 2022-10-25 22:32:14 +00:00
external obs-ffmpeg: Add NVENC AV1 support 2022-10-07 14:34:39 -07:00
ffmpeg-mux obs-ffmpeg: Fix deprecation of channels member of several structs 2022-11-10 19:37:07 -05:00
obs-amf-test obs-ffmpeg: Fix format specifier in obs-amf-test 2022-08-12 23:05:58 +02:00
obs-nvenc-test obs-ffmpeg: Add NVENC AV1 support 2022-10-07 14:34:39 -07:00
CMakeLists.txt obs-ffmpeg: Add NVENC AV1 support 2022-10-07 14:34:39 -07:00
jim-nvenc-helpers.c obs-ffmpeg: Add NVENC AV1 support 2022-10-07 14:34:39 -07:00
jim-nvenc-ver.h obs-ffmpeg: Add NVENC AV1 support 2022-10-07 14:34:39 -07:00
jim-nvenc.c obs-ffmpeg: Use compatibility options on nvnenc init fail 2022-11-17 10:55:06 -08:00
jim-nvenc.h obs-ffmpeg: Add NVENC AV1 support 2022-10-07 14:34:39 -07:00
obs-ffmpeg-audio-encoders.c obs-ffmpeg: Fix deprecation of channels member of several structs 2022-11-10 19:37:07 -05:00
obs-ffmpeg-av1.c obs-ffmpeg: Block 8-bit HDR for AV1 encoders 2022-08-16 07:39:52 -07:00
obs-ffmpeg-compat.h clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs-ffmpeg-config.h.in obs-ffmpeg: Add HEVC support to NVENC 2022-04-28 08:59:53 -07:00
obs-ffmpeg-formats.h obs-ffmpeg: Use YVYU for FFmpeg pix fmt YVYU422 2022-04-19 19:39:22 +02:00
obs-ffmpeg-hls-mux.c obs-ffmpeg: Use new priority parsing for HLS 2022-08-01 08:15:39 -07:00
obs-ffmpeg-logging.c obs-ffmpeg: Separate logging code 2019-07-09 10:07:24 -07:00
obs-ffmpeg-mpegts.c obs-ffmpeg: Direct setting of encryption & auth for SRT & RIST 2022-11-17 21:56:38 -05:00
obs-ffmpeg-mux.c obs-ffmpeg: Add codec-tag support to ffmpeg-mux 2022-11-02 22:44:20 +01:00
obs-ffmpeg-mux.h obs-ffmpeg: Always reset timestamp 2022-08-30 22:41:29 -04:00
obs-ffmpeg-nvenc.c obs-ffmpeg: Fix FFmpeg NVENC presets on Ubuntu 20.04 2022-10-27 14:35:51 -07:00
obs-ffmpeg-output.c obs-ffmpeg: Fix deprecation of channels member of several structs 2022-11-10 19:37:07 -05:00
obs-ffmpeg-output.h obs-ffmpeg: Direct setting of encryption & auth for SRT & RIST 2022-11-17 21:56:38 -05:00
obs-ffmpeg-rist.h obs-ffmpeg: Direct setting of encryption & auth for SRT & RIST 2022-11-17 21:56:38 -05:00
obs-ffmpeg-source.c obs-ffmpeg: Fix frame remain after changing file 2022-07-28 11:33:02 -07:00
obs-ffmpeg-srt.h obs-ffmpeg: Direct setting of encryption & auth for SRT & RIST 2022-11-17 21:56:38 -05:00
obs-ffmpeg-url.h obs-ffmpeg: Native SRT/RIST for mpegts output 2022-07-30 17:03:10 +02:00
obs-ffmpeg-vaapi.c obs-ffmpeg: Replace invocations of sprintf with snprintf 2022-11-11 19:51:28 +01:00
obs-ffmpeg-video-encoders.c obs-ffmpeg: Fix unpause causing certain encoders to fail 2022-09-30 13:09:29 -07:00
obs-ffmpeg-video-encoders.h deps,libobs,plugins: Fix discarded-qualifiers warnings with FFmpeg 5 2022-07-22 08:50:36 -04:00
obs-ffmpeg.c obs-ffmpeg: Fix Ubuntu 20.04 detection 2022-10-27 16:47:37 -07:00
texture-amf-opts.hpp obs-ffmpeg: Fix typo in min_qp_p / max_qp_p options 2022-08-01 13:34:27 -07:00
texture-amf.cpp obs-ffmpeg: Fix m3u8 recording in AMF 2022-09-29 15:47:26 -07:00