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

Foliovision

Main navigation

  • 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. 4 years, 7 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 4 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 4 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. 4 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. 4 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 4 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

Sign in Register
FV Player Docs Post New Topic

Welcome

to Foliovision support forums! We'll be happy to provide free support to resolve all the reported bugs. You always can start by specifying your OS and browser and steps to reproduce the bug.

If you need help with the installation on your site, please submit a request for a Pro Support Incident. We'll have you up and running in no time, with detailed instructions on how to resolve your issue yourself in the future.

Facing a hard to solve WordPress problem? On a tight deadline?

Let us take care of it for you
right now.

Pro Support Buy FV Player

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 © 2025 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‬

We are using cookies to give you the best experience on our website.

You can find out more about which cookies we are using or switch them off in .

Powered by  GDPR Cookie Compliance
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Necessary Cookies

Strictly Necessary Cookie allow you to log in and download your software or post to forums.

We use the WordPress login cookie and the session cookie.

If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.

Support Cookies

Foliovision.com uses self-hosted Rocket.chat and self-hosted Freescout support desk to provide support for FV Player users. These cookies allow our visitors to chat with us and/or submit support tickets.

We are delighted to recommend self-hosted Rocket.chat and especially Freescout to other privacy-conscious independent publishers who would prefer to self-host support.

Please enable Strictly Necessary Cookies first so that we can save your preferences!

3rd Party Cookies

This website uses Google Analytics and Statcounter to collect anonymous information such as the number of visitors to the site, and the most popular pages.

Keeping this cookie enabled helps us to improve our website.

We reluctantly use Google Analytics as it helps us to test FV Player against popular Google Analytics features. Feel free to turn off these cookies if they make you feel uncomfortable.

Statcounter is an independent Irish stats service which we have been using since the beginning of recorded time, sixteen years ago.

Please enable Strictly Necessary Cookies first so that we can save your preferences!