video: check lp status code

Signed-off-by: Varun Patil <varunpatil@ucla.edu>
pull/504/head
Varun Patil 2023-03-17 13:16:43 -07:00
parent 40ff469e8f
commit afd3cf937d
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ class VideoController extends ApiBase
}
// If this is H.264 it won't get transcoded anyway
if ($this->getUpstream($transcode, $liveVideoPath, 'max.mov')) {
if ($this->getUpstream($transcode, $liveVideoPath, 'max.mov') === 200) {
exit;
}
}