video: check lp status code
Signed-off-by: Varun Patil <varunpatil@ucla.edu>pull/504/head
parent
40ff469e8f
commit
afd3cf937d
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue