Fix recordings not stopping, if playlist requests returns 403
This commit is contained in:
parent
87f7bd6e83
commit
d017a781cd
|
@ -183,14 +183,15 @@ public abstract class AbstractHlsDownload extends AbstractDownload {
|
|||
modelState = model.getOnlineState(false);
|
||||
if (modelState == State.ONLINE) {
|
||||
segmentPlaylistUrl = getSegmentPlaylistUrl(model);
|
||||
} else {
|
||||
stop();
|
||||
waitSomeTime(TEN_SECONDS);
|
||||
}
|
||||
} catch (Exception e1) {
|
||||
modelState = State.UNKNOWN;
|
||||
}
|
||||
if (modelState != State.ONLINE) {
|
||||
stop();
|
||||
}
|
||||
LOG.info(errorMsg, model, modelState);
|
||||
waitSomeTime(TEN_SECONDS);
|
||||
}
|
||||
|
||||
protected String getSegmentPlaylistUrl(Model model) throws IOException, ExecutionException, ParseException, PlaylistException, JAXBException {
|
||||
|
|
Loading…
Reference in New Issue