UI: Swap to new srt output

Redirect non rtmp streaming to ffmpeg-mux instead of previous
ffmpeg-encoded-output which has been removed.
This commit is contained in:
pkv 2020-03-25 16:21:31 +01:00 committed by jp9000
parent 91418e901c
commit 697563f4db

View file

@ -697,7 +697,7 @@ bool SimpleOutput::StartStreaming(obs_service_t *service)
const char *url = obs_service_get_url(service);
if (url != NULL &&
strncmp(url, RTMP_PROTOCOL, strlen(RTMP_PROTOCOL)) != 0) {
type = "ffmpeg_encoded_output";
type = "ffmpeg_mpegts_muxer";
}
}
@ -1539,7 +1539,7 @@ bool AdvancedOutput::StartStreaming(obs_service_t *service)
const char *url = obs_service_get_url(service);
if (url != NULL &&
strncmp(url, RTMP_PROTOCOL, strlen(RTMP_PROTOCOL)) != 0) {
type = "ffmpeg_encoded_output";
type = "ffmpeg_mpegts_muxer";
}
}