|
|
@ -1472,7 +1472,7 @@ int SrsHls::on_audio(SrsSharedPtrMessage* audio)
|
|
|
|
return hls_cache->on_sequence_header(muxer);
|
|
|
|
return hls_cache->on_sequence_header(muxer);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if ((ret = jitter->correct(audio, 0, 0, SrsRtmpJitterAlgorithmFULL)) != ERROR_SUCCESS) {
|
|
|
|
if ((ret = jitter->correct(audio, 0, 0, SrsRtmpJitterAlgorithmOFF)) != ERROR_SUCCESS) {
|
|
|
|
srs_error("rtmp jitter correct audio failed. ret=%d", ret);
|
|
|
|
srs_error("rtmp jitter correct audio failed. ret=%d", ret);
|
|
|
|
return ret;
|
|
|
|
return ret;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -1523,7 +1523,7 @@ int SrsHls::on_video(SrsSharedPtrMessage* video)
|
|
|
|
return hls_cache->on_sequence_header(muxer);
|
|
|
|
return hls_cache->on_sequence_header(muxer);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if ((ret = jitter->correct(video, 0, 0, SrsRtmpJitterAlgorithmFULL)) != ERROR_SUCCESS) {
|
|
|
|
if ((ret = jitter->correct(video, 0, 0, SrsRtmpJitterAlgorithmOFF)) != ERROR_SUCCESS) {
|
|
|
|
srs_error("rtmp jitter correct video failed. ret=%d", ret);
|
|
|
|
srs_error("rtmp jitter correct video failed. ret=%d", ret);
|
|
|
|
return ret;
|
|
|
|
return ret;
|
|
|
|
}
|
|
|
|
}
|
|
|
|