The downloaded segment is empty.

This error occurs whenever an empty MP4 init-segment was downloaded, which usually indicates that there is an underlying issue with the stream. It is therefore recommended to check the segments of the stream - there may be an issue on the encoding side that caused empty segments to be generated.

The ISO Viewer tool can be used to inspect ISO-BMFF formatted segments. For testing purposes, it is also possible to use the NetworkConfig to replace the corrupted empty segments.