title: Why is Chromecast unable to stream this HLS video? "Neither ID3 nor ADTS header was found" / Error NETWORK/315
body: <p>I'm trying to stream some URLs to my Chromecast through a sender app. They're HLS/m3u8 URLs.</p>
  
  <p>Here's one such example URL: <a href="https://qa-apache-php7.dev.kaltura.com/p/1091/sp/109100/playManifest/entryId/0_wifqaipd/protocol/https/format/applehttp/flavorIds/0_h65mfj7f,0_3flmvnwc,0_m131krws,0_5407xm9j/a.m3u8" rel="noreferrer">https://qa-apache-php7.dev.kaltura.com/p/1091/sp/109100/playManifest/entryId/0_wifqaipd/protocol/https/format/applehttp/flavorIds/0_h65mfj7f,0_3flmvnwc,0_m131krws,0_5407xm9j/a.m3u8</a></p>
  
  <p>However they never seem to load on the Chromecast, despite other HLS/m3u8 URLs working (<a href="https://commondatastorage.googleapis.com/gtv-videos-bucket/CastVideos/hls/DesigningForGoogleCast.m3u8" rel="noreferrer">example of an HLS stream that does work</a>).</p>
  
  <p>It's not related to CORS as they indeed have the proper CORS headers.</p>
  
  <p>I notice they have separate audio groups in the root HLS manifest file.</p>
  
  <p>When I hook it up to a custom receiver app, I get the following logs:</p>
  
  <p><a href="https://i.stack.imgur.com/57wks.png" rel="noreferrer"><img src="https://i.stack.imgur.com/57wks.png" alt="enter image description here"></a></p>
  
  <p>The relevant bits being (I think): Neither ID3 nor ADTS header was found at 0 and cast.player.api.ErrorCode.NETWORK/315 (which I believe is a result of the first)</p>
  
  <p>These are perfectly valid/working HLS URLs. They play back in Safari on iOS and desktop perfectly, as well as VLC.</p>
  
  <p>Is there something I need to be doing (either in my sender app or my receiver app) to enable something like the audio tracks? <a href="https://developers.google.com/cast/docs/mpl/streaming_protocols#http_live_streaming_hls" rel="noreferrer">The docs seem to indicate something about that</a>.</p>
  
  <p>I also found this Google issue where a person had a similar issue, but solved it somehow that I can't understand. <a href="https://issuetracker.google.com/u/1/issues/112277373" rel="noreferrer">https://issuetracker.google.com/u/1/issues/112277373</a></p>
  
  <p>How would I playback this URL on Chromecast properly? Am I to do something in code?</p>