|
| web.StreamResponse | handle (self, web.Request request, Stream stream, str sequence, str part_num) |
| |
| web.StreamResponse | get (self, web.Request request, str token, str sequence="", str part_num="") |
| |
|
| bool | cors_allowed = True |
| |
| string | name = "api:stream:hls:segment" |
| |
| string | url = r"/api/hls/{token:[a-f0-9]+}/segment/{sequence:\d+}.m4s" |
| |
| bool | requires_auth = False |
| |
Stream view to serve a HLS fmp4 segment.
Definition at line 399 of file hls.py.
◆ handle()
| web.StreamResponse homeassistant.components.stream.hls.HlsSegmentView.handle |
( |
|
self, |
|
|
web.Request |
request, |
|
|
Stream |
stream, |
|
|
str |
sequence, |
|
|
str
|
part_num |
|
) |
| |
◆ cors_allowed
| bool homeassistant.components.stream.hls.HlsSegmentView.cors_allowed = True |
|
static |
◆ name
| string homeassistant.components.stream.hls.HlsSegmentView.name = "api:stream:hls:segment" |
|
static |
◆ url
| string homeassistant.components.stream.hls.HlsSegmentView.url = r"/api/hls/{token:[a-f0-9]+}/segment/{sequence:\d+}.m4s" |
|
static |
The documentation for this class was generated from the following file:
- core/homeassistant/components/stream/hls.py