Open NhonDev91 opened 4 years ago
There is a bug in the original cast player that if the audio is in ts
format it cannot be automatically recognized by the player.
(Similar issue: https://stackoverflow.com/questions/55385491/why-is-chromecast-unable-to-stream-this-hls-video-neither-id3-nor-adts-header)
Since the audio of your video is in ts
format, you need to set the hlsSegmentFormat
to HlsSegmentFormat.TS
.
However, this is incompatible with audio in other formats. This is why I created this custom player, which allows the sender to specify hlsSegmentFormat
.
In your case, you can specify {"hlsSegmentFormat":4}
in customData
, in which 4
stands for TS. See here for all the values.
https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8 I try to cast that video from my iPhone app to TV. It isn't work, can you help me? Here is my receiver web url: https://storage.uk.cloud.ovh.net/v1/AUTH_5947fa8c16144547a6cd1dc1de2c453b/mirror/player.html