Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.esphome.ffmpeg_proxy Namespace Reference

Classes

class  FFmpegConversionInfo
 
class  FFmpegConvertResponse
 
class  FFmpegProxyData
 
class  FFmpegProxyView
 

Functions

str async_create_proxy_url (HomeAssistant hass, str device_id, str media_url, str media_format, int|None rate=None, int|None channels=None, int|None width=None)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 

Detailed Description

HTTP view that converts audio from a URL to a preferred format.

Function Documentation

◆ async_create_proxy_url()

str homeassistant.components.esphome.ffmpeg_proxy.async_create_proxy_url ( HomeAssistant  hass,
str  device_id,
str  media_url,
str  media_format,
int | None   rate = None,
int | None   channels = None,
int | None   width = None 
)
Create a use proxy URL that automatically converts the media.

Definition at line 25 of file ffmpeg_proxy.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.esphome.ffmpeg_proxy._LOGGER = logging.getLogger(__name__)
private

Definition at line 20 of file ffmpeg_proxy.py.