1.5 KiB
1.5 KiB
VideoStreamingPlaylists
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| playlist_url | str | [optional] | |
| segments_sha256_url | str | [optional] | |
| files | List[VideoFile] | Video files associated to this playlist. The difference with the root `files` property is that these files are fragmented, so they can be used in this streaming playlist (HLS, etc.) | [optional] |
| redundancies | List[VideoStreamingPlaylistsHLSRedundanciesInner] | [optional] | |
| id | int | [optional] | |
| type | int | Playlist type: - `1`: HLS | [optional] |
Example
from peertube.models.video_streaming_playlists import VideoStreamingPlaylists
# TODO update the JSON string below
json = "{}"
# create an instance of VideoStreamingPlaylists from a JSON string
video_streaming_playlists_instance = VideoStreamingPlaylists.from_json(json)
# print the JSON string representation of the object
print VideoStreamingPlaylists.to_json()
# convert the object into a dict
video_streaming_playlists_dict = video_streaming_playlists_instance.to_dict()
# create an instance of VideoStreamingPlaylists from a dict
video_streaming_playlists_form_dict = video_streaming_playlists.from_dict(video_streaming_playlists_dict)