Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.esphome.ffmpeg_proxy.FFmpegProxyData Class Reference

Public Member Functions

str async_create_proxy_url (self, str device_id, str media_url, str media_format, int|None rate, int|None channels, int|None width)
 

Static Public Attributes

 default_factory
 

Detailed Description

Data for ffmpeg proxy conversion.

Definition at line 71 of file ffmpeg_proxy.py.

Member Function Documentation

◆ async_create_proxy_url()

str homeassistant.components.esphome.ffmpeg_proxy.FFmpegProxyData.async_create_proxy_url (   self,
str  device_id,
str  media_url,
str  media_format,
int | None  rate,
int | None  channels,
int | None  width 
)
Create a one-time use proxy URL that automatically converts the media.

Definition at line 79 of file ffmpeg_proxy.py.

Member Data Documentation

◆ default_factory

homeassistant.components.esphome.ffmpeg_proxy.FFmpegProxyData.default_factory
static

Definition at line 76 of file ffmpeg_proxy.py.


The documentation for this class was generated from the following file: