Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
1,239 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
NAME = 'bitmovin-python' | ||
VERSION = '1.46.0.dev0' | ||
VERSION = '1.49.0.dev0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
from .live_dash_manifest import LiveDashManifest | ||
from .live_hls_manifest import LiveHlsManifest | ||
from .live_stream_configuration import LiveStreamConfiguration | ||
from .auto_restart_configuration import AutoRestartConfiguration |
14 changes: 14 additions & 0 deletions
14
bitmovin/resources/models/encodings/live/auto_restart_configuration.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
from bitmovin.utils import Serializable | ||
|
||
|
||
class AutoRestartConfiguration(Serializable): | ||
def __init__(self, segments_written_timeout: float = None, bytes_written_timeout: float = None, | ||
frames_written_timeout: float = None, hls_manifests_update_timeout: float = None, | ||
dash_manifests_update_timeout: float = None, schedule_expression: str = None): | ||
super().__init__() | ||
self.segmentsWrittenTimeout = segments_written_timeout | ||
self.bytesWrittenTimeout = bytes_written_timeout | ||
self.framesWrittenTimeout = frames_written_timeout | ||
self.hlsManifestsUpdateTimeout = hls_manifests_update_timeout | ||
self.dashManifestsUpdateTimeout = dash_manifests_update_timeout | ||
self.scheduleExpression = schedule_expression |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
bitmovin/resources/models/manifests/dash/vtt_representation.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
from bitmovin.resources.models import AbstractModel | ||
from bitmovin.utils import Serializable | ||
|
||
|
||
class VttRepresentation(AbstractModel, Serializable): | ||
|
||
def __init__(self, vtt_url, id_=None, custom_data=None): | ||
super().__init__(id_=id_, custom_data=custom_data) | ||
self.vttUrl = vtt_url | ||
|
||
@classmethod | ||
def parse_from_json_object(cls, json_object): | ||
id_ = json_object['id'] | ||
custom_data = json_object.get('customData') | ||
vtt_url = json_object['vttUrl'] | ||
|
||
vtt_representation = VttRepresentation( | ||
id_=id_, custom_data=custom_data, vtt_url=vtt_url) | ||
return vtt_representation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.