obs-studio/plugins/obs-outputs/librtmp
tt2468 97756861b4 obs-outputs: Rework RTMP context init/deinit
This commit fixes what is arguably a long-winded series of previous
commits that have possibly caused just as many problems as they have
fixed. I'll spare the details, but basically, there's no reason that
any of the RTMP object should ever be used across socket sessions.

This provides a slight enhancement by removing the `RTMP_Init` call
in `rtmp_stream_create()`, since it effectively just initializes TLS
just for `try_connect` to deinitialize it before it is even used.

This also fixes the current `SO_RCVTIMEO` timeout functionality by
making sure that `RTMP_Reset` is called last.
2022-07-09 17:04:37 -07:00
..
.clang-format clang-format: Add clang-format files 2019-06-23 01:53:56 -07:00
COPYING Add librtmp to obs-outputs 2014-04-01 11:48:28 -07:00
amf.c obs-outputs: Update librtmp with upstream patches 2018-07-23 23:22:37 +02:00
amf.h Add librtmp to obs-outputs 2014-04-01 11:48:28 -07:00
bytes.h Add librtmp to obs-outputs 2014-04-01 11:48:28 -07:00
cencode.c libobs/plugins/UI: Suppress -Wimplicit-fallthrough introduced by GCC 7 2017-05-29 21:05:18 -03:00
cencode.h Add librtmp to obs-outputs 2014-04-01 11:48:28 -07:00
handshake.h obs-outputs,librtmp: Remove encrypted RTMP support 2022-03-18 13:34:03 -07:00
hashswf.c obs-outputs: Fix librtmp mbedtls thread safety 2020-01-23 00:11:23 +01:00
http.h Add librtmp to obs-outputs 2014-04-01 11:48:28 -07:00
log.c Add librtmp to obs-outputs 2014-04-01 11:48:28 -07:00
log.h Add librtmp to obs-outputs 2014-04-01 11:48:28 -07:00
md5.c Add librtmp to obs-outputs 2014-04-01 11:48:28 -07:00
md5.h Add librtmp to obs-outputs 2014-04-01 11:48:28 -07:00
parseurl.c obs-outputs: Fix stuck "Connecting" with no key 2015-07-11 14:01:11 +09:00
rtmp.c obs-outputs: Rework RTMP context init/deinit 2022-07-09 17:04:37 -07:00
rtmp.h obs-outputs: Fix missing function declaration 2022-06-15 00:52:43 -07:00
rtmp_sys.h obs-outputs: Fix librtmp mbedtls thread safety 2020-01-23 00:11:23 +01:00