mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 13:08:50 +02:00
d314d4725d
This deprecates the following functions, replacing them with new versions: - `obs_output_can_begin_data_capture()` - now `*capture2()` - `obs_output_initialize_encoders()` - now `*encoders2()` - `obs_output_begin_data_capture()` - now `*capture2()` The flags parameter was initially designed to support audio-only or video-only operation of an output which had the `OBS_OUTPUT_AV` flag, however, full support for that was never implemented, and there are likely fundamental issues with an implementation, mainly that most outputs are programmed assuming that there will always be at least one audio and one video track. This requires new flags specifying support for optional audio/video, among other things. An implementation to allow audio/video to be optional is best done using the flag technique above, with audio/video enablement specified by whether media (raw, `video_t/audio_t`) or encoder (`obs_encoder_t`) objects are specified. Since every implementation I could find always specifies `flags` as 0, I was able to safely conclude that immediately removing the parameter's functionality is safe to do. |
||
---|---|---|
.. | ||
cmake | ||
data/locale | ||
ftl-sdk@d0c8469f66 | ||
librtmp | ||
CMakeLists.txt | ||
flv-mux.c | ||
flv-mux.h | ||
flv-output.c | ||
ftl-stream.c | ||
net-if.c | ||
net-if.h | ||
null-output.c | ||
obs-output-ver.h | ||
obs-outputs.c | ||
rtmp-av1.c | ||
rtmp-av1.h | ||
rtmp-helpers.h | ||
rtmp-hevc.c | ||
rtmp-hevc.h | ||
rtmp-stream.c | ||
rtmp-stream.h | ||
rtmp-windows.c | ||
utils.h |