• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Foliovision

  • Weblog
    • FV Player
    • WordPress
    • Video of the Week
    • Case Studies
    • Business
  • About
    • Testimonials
    • Meet the Team
    • We Support
    • Careers
    • Contact
    • Pricing
  • Products
  • Support
    • FV Player Docs
    • Pro Support
  • Login
  • Basket is empty

detailedErrorCode: 315 on casting to chromecast

Foliovision › Forums › FV Player › Bug Reports › detailedErrorCode: 315 on casting to chromecast

  • Colin M. 5 years, 5 months ago

    What does this mean? I can’t find any documentation…

    detailedErrorCode: 315

    Thanks.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Chiara Rendekova 5 years ago
    Avatar photo

    Hi Colin,

    Could you provide us your OS and browser information with the page URL on which the error occurs, please?

    We’ll take a closer look on that.

    Thanks,
    Chiara

    Colin M. 5 years ago

    This is on MacOS 10.15.5, Chrome 86.0.4240.80, WordPress plugins FV Player 7.4.34.727, FV Player Pro 7.4.33.727

    Attempting to cast to chromecast from (eg) here – https://streamthescene.net/_streams/i-love-acid-17-10-20/ – gives that error in the browser console and it would just be good to know what it means as we can never get casting to work.

    Thanks.

    Chiara Rendekova 5 years ago
    Avatar photo

    Hi Colin,

    We’ve tested the given video and the error comes up for any device (not only MacOS). We think it may be a plugin interference since it seems to try to start but then gets blocked, however we’d like to look into it further.

    Could you please post a new page to your website with a bare MP4 file using FV Player and see if the Chromecast works there?

    A sample MP4 video could be this one: s3-eu-west-1.amazonaws.com/fv-player-unprotected/dominika-960-31_HD.mp4 If that one works, then it’s some problem with the video you’re using or it doesn’t work with the player feature which you’re using. Otherwise it must be some plugin conflict.

    Thanks,
    Chiara

    Colin M. 5 years ago

    Hi,

    We’ve tried and the mp4 casts fine, however other HLS examples we’ve tried (not just ours) play but do NOT cast, eg:

    https://bitdash-a.akamaihd.net/content/MI201109210084_1/m3u8s/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.m3u8

    https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8

    The second of those is currently on this page for ref – https://streamthescene.net/_streams/test/

    I tried with the examples on this page of yours – https://foliovision.com/player/demos/hls-stream – results were:

    1st video – plays, does not cast
    2nd video – doesn’t play at all
    3rd – *plays AND casts successfully*
    4th – plays, does not cast

    Can you tell me what the difference between the 3rd video and the others is that might be causing it to cast successfully? There’s no comment on it in the page.

    Thanks

    Colin M. 5 years ago

    One more thing, I found the source of the working file to be – https://playertest.longtailvideo.com/adaptive/bipbop/bipbop.m3u8 – when I put this into our test page it also casts successfully.

    Martin 5 years ago

    Hello Colin,

    Chromecast reports this error:

    onMediaError
    
    code:  "session_error", description:  description: "LOAD_FAILED"
    details: {type: "LOAD_FAILED", detailedErrorCode:315, itemId: 1}
    

    We found that the error 315 is HLS_NETWORK_INVALID_SEGMENT which means that the video segment is not using TS or AAC format: https://developers.google.com/cast/docs/web_receiver/error_codes

    Looking at https://playertest.longtailvideo.com/adaptive/bipbop/bipbop.m3u8 I can see the video segments are using the h264 (Constrained Baseline) codec, while your HLS stream is using Video: h264 (Main). Both of which should work with Chrome Cast, even the old versions. And both streams are using TS segments obviously.

    I tried to put in some fixes based on https://stackoverflow.com/questions/55385491/why-is-chromecast-unable-to-stream-this-hls-video-neither-id3-nor-adts-header but it wouldn’t work so far.

    I also tested that video in JW Player and it wouldn’t cast either.

    —

    Regarding https://foliovision.com/player/demos/hls-stream – thank you for letting us know about that playback issue. It’s due to our new Stream Loader technology to serve HLS streams with URL tokens. We will fix it to work with different file extensions and then that broken video will play.

    Thanks,
    Martin

    Crawford 5 years ago

    Hi,

    This still doesn’t work for us – I’d really like to focus on your demo files on the page https://foliovision.com/player/demos/hls-stream – you must be able to tell me what the difference is between the one that casts

    https://playertest.longtailvideo.com/adaptive/bipbop/bipbop.m3u8

    and the others that don’t cast?

    Martin 5 years ago

    Hello Crawford,

    we did the basic check of the h264 codec already, I posted about it in my last message.

    I also run into the exact same issue with JW Player.

    So it’s hard for us to guess what could be the issue with Chromecast. We can only try some more players until we found which one is able to cast that m3u8 file.

    Thanks,
    Martin

    Gus E. 5 years ago

    Hello, I don’t know if this stream has changed since the thread was open but I’m testing it on a build-in Chromecast on a Sony Bravia and it works fine. There is a weird message after check it through the MediaStreamValidator app:
    Error: Illegal MIME type
    –> Detail: MIME type: application/x-mpegURL
    –> Source: https://playertest.longtailvideo.com/adaptive/bipbop/bipbop.m3u8
    But I thought this is the correct mime type for hls streams…

    Gus E. 5 years ago

    Sorry, I didn’t read the thread carefully. This file is the one that works …
    I’m running into the same problem. Trying to figure out why my streams won’t play on Chromecast …

    Martin 5 years ago

    Hello Gus,

    we are now fixing a similar issue here, we did some more tests with other players too: https://foliovision.com/support/fv-wordpress-flowplayer/bug-reports/chromecast-2#post-135148

    Thanks,
    Martin

Viewing 11 replies - 1 through 11 (of 11 total)
Reply To: detailedErrorCode: 315 on casting to chromecast



Please Sign in or Register to upload files.

Related Posts

  1. New Chromecast feature

  2. Using FV Player with Chromecast

  3. Jak používat YouTube a FV Player

Primary Sidebar

Bug Reports

    Categories

    • Business
    • Camera Reviews
    • Case Studies
    • Design
    • FV Player
    • Internet Marketing
    • IT
    • Life
    • SEO
    • Slovak
    • Video of the Week
    • WordPress

    Footer

    Our Plugins

    • FV WordPress Flowplayer
    • FV Thoughtful Comments
    • FV Simpler SEO
    • FV Antispam
    • FV Gravatar Cache
    • FV Testimonials

    Free Tools

    • Pandoc Online
    • Article spinner
    • WordPress Password Finder
    • Delete LinkedIn Account
    • Responsive Design Calculator
    Foliovision logo
    All materials © 2026 Foliovision s.r.o. | Panská 12 - 81101 Bratislava - Slovakia | info@foliovision.com
    • This Site Uses Cookies
    • Privacy Policy
    • Terms of Service
    • Site Map
    • Contact
    • Tel. ‭+421 2/5292 0086‬