Fixed RTMP push out to YT (possibly others)

This commit is contained in:
Thulinma 2017-05-11 13:46:30 +02:00
parent f75ea28221
commit 78844a6eec
4 changed files with 56 additions and 39 deletions

View file

@ -92,6 +92,10 @@ namespace Mist{
return buffer.size();
}
bool Output::isRecording(){
return config->hasOption("target") && config->getString("target").size();
}
void Output::updateMeta(){
//cancel if not alive or pushing a new stream
if (!nProxy.userClient.isAlive() || (isPushing() && myMeta.tracks.size())){