don't direct stream anamorphic video to web client

This commit is contained in:
Luke Pulverenti 2014-06-22 12:42:50 -04:00
parent 32a0d7fcf0
commit 6a7cbb040f

View File

@ -275,6 +275,11 @@
return false;
}
if (videoStream && videoStream.IsAnamorphic) {
console.log('Transcoding because video is anamorphic');
return false;
}
if (!mediaSource.Bitrate || mediaSource.Bitrate > bitrate) {
console.log('Transcoding because bitrate is too high');
return false;