Skip to content

Allow passing additional media information through to play_media#420

Merged
emontnemery merged 1 commit intohome-assistant-libs:masterfrom
hunterjm:additional-media-info
Sep 27, 2020
Merged

Allow passing additional media information through to play_media#420
emontnemery merged 1 commit intohome-assistant-libs:masterfrom
hunterjm:additional-media-info

Conversation

@hunterjm
Copy link
Copy Markdown
Contributor

In Home Assistant 0.115 we changed the format of the HLS stream used for showing cameras from MPEG-TS to Fragmented MP4. In order to have chromecast play fmp4 files, we need to forward the hlsVideoSegmentFormat option to the device. Since there are additional MediaInformation options, I implemented this in a way to allow other options to also be utilized. See https://developers.google.com/cast/docs/reference/web_receiver/cast.framework.messages.MediaInformation

@emontnemery emontnemery merged commit a2e718c into home-assistant-libs:master Sep 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants