HLS stream not working on Apple devices

后端 未结 1 456
忘了有多久
忘了有多久 2021-01-14 00:22

I have a live RTSP stream that i have managed to transcode to HLS via VLC. Now it works perfect on Android and on desktop browsers (via flash).

But not on Apple (i c

相关标签:
1条回答
  • 2021-01-14 01:07

    The player might expect muxed video and audio so add a silent audio track.

    The Apple HLS documentation says:

    The media segment files are normally produced by the stream segmenter, based on input from the encoder, and consist of a series of .ts files containing segments of an MPEG-2 Transport Stream carrying H.264 video and AAC, MP3, or AC-3 audio

    Support for audio-only streams is mentioned in Technical Note TN2224 and the 7th revision of the protocol introduced support for alternate renditions (unmuxed streams) but this is done with EXT-X-MEDIA tags in a master playlist controlling the playback (yours is a media playlist).

    0 讨论(0)
提交回复
热议问题