peertube_python_api/docs/LiveVideoSessionResponse.md
2024-01-14 12:30:33 +02:00

1.6 KiB

LiveVideoSessionResponse

Properties

Name Type Description Notes
id int [optional]
start_date datetime Start date of the live session [optional]
end_date datetime End date of the live session [optional]
error int Error type if an error occurred during the live session: - `1`: Bad socket health (transcoding is too slow) - `2`: Max duration exceeded - `3`: Quota exceeded - `4`: Quota FFmpeg error - `5`: Video has been blacklisted during the live [optional]
replay_video LiveVideoSessionResponseReplayVideo [optional]

Example

from peertube.models.live_video_session_response import LiveVideoSessionResponse

# TODO update the JSON string below
json = "{}"
# create an instance of LiveVideoSessionResponse from a JSON string
live_video_session_response_instance = LiveVideoSessionResponse.from_json(json)
# print the JSON string representation of the object
print LiveVideoSessionResponse.to_json()

# convert the object into a dict
live_video_session_response_dict = live_video_session_response_instance.to_dict()
# create an instance of LiveVideoSessionResponse from a dict
live_video_session_response_form_dict = live_video_session_response.from_dict(live_video_session_response_dict)

[Back to Model list] [Back to API list] [Back to README]