Add H.265 support to stream component (#38125)
* Add H.265 support to stream component * Change find_box to generator * Move fmp4 utilities to fmp4utils.py * Add minimum segments and segment durations * Remove MIN_SEGMENTS * Fix when container_options is None * Fix missing num_segments and update tests * Remove unnecessary mock attribute * Fix Segment construction in test_recorder_save * fix recorder with lookback Co-authored-by: Jason Hunter <hunterjm@gmail.com>
This commit is contained in:
1 parent
d0a59e28ac
commit
5355fcaba8
11 files changed
+169
-51
No files matched your search
@@ -16,3 +16,6 @@ OUTPUT_FORMATS = ["hls"]
|
||||
FORMAT_CONTENT_TYPE = {"hls": "application/vnd.apple.mpegurl"}
|
||||
|
||||
AUDIO_SAMPLE_RATE = 44100
|
||||
|
||||
MAX_SEGMENTS = 3 # Max number of segments to keep around
|
||||
MIN_SEGMENT_DURATION = 1.5 # Each segment is at least this many seconds
|
||||
Reference in new issue
Block a user