diff --git a/src/core/segment_buffers/implementations/audio_video/audio_video_segment_buffer.ts b/src/core/segment_buffers/implementations/audio_video/audio_video_segment_buffer.ts index ade88881ea..70f4de37fc 100644 --- a/src/core/segment_buffers/implementations/audio_video/audio_video_segment_buffer.ts +++ b/src/core/segment_buffers/implementations/audio_video/audio_video_segment_buffer.ts @@ -623,22 +623,10 @@ export default class AudioVideoSegmentBuffer extends SegmentBuffer { * difficult to enforce. * @param {Object} data */ -<<<<<<< HEAD -function assertPushedDataIsBufferSource( - pushedData : IPushChunkInfos -) : asserts pushedData is IPushChunkInfos { - if (__ENVIRONMENT__.CURRENT_ENV as number === __ENVIRONMENT__.PRODUCTION as number) { -||||||| 700a3d067 -function assertPushedDataIsBufferSource( - pushedData : IPushChunkInfos -) : asserts pushedData is IPushChunkInfos { - if (__ENVIRONMENT__.CURRENT_ENV === __ENVIRONMENT__.PRODUCTION as number) { -======= function assertDataIsBufferSource( data : unknown ) : asserts data is BufferSource { - if (__ENVIRONMENT__.CURRENT_ENV === __ENVIRONMENT__.PRODUCTION as number) { ->>>>>>> refs/rewritten/canalplus-misc-declareInitSegment + if (__ENVIRONMENT__.CURRENT_ENV as number === __ENVIRONMENT__.PRODUCTION as number) { return; } if (