vlivepy.OfficialVideoLive¶
-
class
vlivepy.OfficialVideoLive(video_seq: Union[int, str], session: Optional[vlivepy.session.UserSession] = None)[source]¶ Bases:
vlivepy.model.OfficialVideoModelThis is the object represents a Live-type-OfficialVideo of VLIVE
- Parameters
video_seq (
str) – Unique id of Live to load.session (
UserSession, optional) – Session for loading data with permission, defaults to None.
-
session¶ Optional. Session for loading data with permission.
- Type
-
getLivePlayInfo(silent=False)[source]¶ Get play info of live
- Parameters
silent (
bool, optional) – Return None instead of raising exception, defaults to False.- Return type
dict
-
getLiveStatus(silent=False)[source]¶ Get detailed status of live.
- Parameters
silent (
bool, optional) – Return None instead of raising exception, defaults to False.- Return type
dict
-
property
has_filter_ad¶ Boolean value for having filter ad
- Return type
bool
-
property
has_special_live¶ Boolean value for having special live
- Return type
bool
-
property
hevc¶ Boolean value for broadcasting with hevc codec.
- Return type
bool
-
property
low_latency¶ Boolean value for broadcasting with low-latency option
- Return type
bool
-
property
momentable¶ Boolean value for what user can create moment of the video
- Return type
bool
-
property
pp_type¶ Unknown boolean value
- Return type
bool
-
property
status¶ Status of the live
- Returns
“RESERVED” if the live is reserved to broadcast. “ON_AIR” if the live is going. “ENDED” if the live is ended.
- Return type
str