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

34 lines
1.6 KiB
Markdown

# 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**](LiveVideoSessionResponseReplayVideo.md) | | [optional]
## Example
```python
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]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)