|
| None | __init__ (self, int inv_video_time_base, int inv_audio_time_base) |
| |
| bool | is_valid (self, av.Packet packet) |
| |
Validate ordering of timestamps for packets in a stream.
Definition at line 443 of file worker.py.
◆ __init__()
| None homeassistant.components.stream.worker.TimestampValidator.__init__ |
( |
|
self, |
|
|
int |
inv_video_time_base, |
|
|
int |
inv_audio_time_base |
|
) |
| |
Initialize the TimestampValidator.
Definition at line 446 of file worker.py.
◆ is_valid()
| bool homeassistant.components.stream.worker.TimestampValidator.is_valid |
( |
|
self, |
|
|
av.Packet |
packet |
|
) |
| |
Validate the packet timestamp based on ordering within the stream.
Definition at line 462 of file worker.py.
◆ _max_dts_gap
| homeassistant.components.stream.worker.TimestampValidator._max_dts_gap |
|
private |
◆ _missing_dts
| homeassistant.components.stream.worker.TimestampValidator._missing_dts |
|
private |
The documentation for this class was generated from the following file:
- core/homeassistant/components/stream/worker.py