core: The m3u8 can't play via chrome cast on Home Assistant 2021.12.1
The problem
I have try to play m3u8 urls via chrome cast by using service play media without successfull. The urls link are still alive The other services are still working such as media extractor or TTS ( not include m3u8 file or urls link) When I use CastRecevied on Android for testing, it just show Logo and title of Home Assistant that lower version don’t have that.
What version of Home Assistant Core has the issue?
Home Assistant 2021.12.0
What was the last working version of Home Assistant Core?
Home Assistant 2021.11.5
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Google Cast
Link to integration documentation on our website
https://www.home-assistant.io/integrations/cast
Example YAML snippet
service: media_player.play_media
target:
device_id: 8c496601e0a3fd307af11919e33674cb
entity_id: media_player.samsung_s9
data:
media_content_id: >-
https://str.vov.gov.vn/vovlive/vov1vov5Vietnamese.sdp_aac/chunklist_w1174318354.m3u8
media_content_type: video
Anything in the logs that might be useful for us?
Logger: homeassistant.components.cast.media_player
Source: components/cast/media_player.py:320
Integration: Google Cast (documentation, issues)
First occurred: 9:59:42 AM (52 occurrences)
Last logged: 6:01:38 PM
Failed to cast media https://str.vov.gov.vn/vovlive/vov1vov5Vietnamese.sdp_aac/chunklist_w1174318354.m3u8. Please make sure the URL is: Reachable from the cast device and either a publicly resolvable hostname or an IP address
Additional information
No response
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 2
- Comments: 20 (9 by maintainers)
Thanks a lot @vikte, I can reproduce it now 👍
I noticed the same issue casting Twitch streams using media_extractor.play_media service. It broke after upgrading to 2021.12.0.
Log shows:
Failed to cast media **URL**.m3u8. Please make sure the URL is: Reachable from the cast device and either a publicly resolvable hostname or an IP addressIf I navigate to the URL from the log, it works fine.
I have the same problem as @metec22. I’m using the media extractor on
https://www.twitch.tv/therunningmanz(and other twitch streams) to cast to a Google Nest Hub (1st gen). It used to work fine before the upgrade to 2021.12. Now it just shows the HA logo, in the HA logs I get similar entries to this:The service call I’m using:
I’ve also tried changing the
media_content_typeto other possible values with no success.@emontnemery I am casting to a real chromecast device. I tested a few different ones. All produce that same error that the URL is not reachable.
Yes, it is