mirror of
https://github.com/elisspace/core.git
synced 2026-10-04 00:09:57 +00:00
@@ -122,7 +122,7 @@ async def _async_setup_internal_server(hass: HomeAssistant, entry: ConfigEntry)
|
||||
|
||||
# open media source
|
||||
_LOGGER.debug("Starting stream %s", stream_source)
|
||||
player = await hass.async_add_executor_job(MediaPlayer, stream_source)
|
||||
player = MediaPlayer(stream_source, decode=False)
|
||||
with contextlib.suppress(AttributeError):
|
||||
peer_connection.addTrack(player.audio)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user