Skip to content

DashCast not working #419

@felipecrs

Description

@felipecrs

Today I decided to give DashCast another shot. This is how I'm calling it:

service: webrtc.dash_cast
data:
  url: video_porteiro
  entity_id: media_player.tv_do_quarto_principal

And this is what shows up in my TV:

PXL_20230205_123420180

I see that it's trying to load my internal URL. But I wonder, wasn't it supposed to try to load my external URL which has HTTPS enabled?

Also, I caught the following in my HA logs:

Logger: frontend.js.latest.202302020
Source: components/system_log/__init__.py:254
First occurred: 11:44:10 (255 occurrences)
Last logged: 12:34:12

https://<external-url>/webrtc/video-rtc.js?v3.0.1:390:27 Uncaught NotSupportedError: Failed to execute 'addSourceBuffer' on 'MediaSource': The type provided ('video/mp4; codecs="avc1.,mp4a.40.2"') is unsupported.
https://<external-url>/webrtc/video-rtc.js?v3.0.1:314:22 Uncaught TypeError: this.ondata is not a function

I see that it says that "type" is not supported. But I also don't understand it, because when using the WebRTC card, both WebRTC and MSE mode works just fine, including audio.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions