Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BilibiliAutoGenerated ¶
type BilibiliAutoGenerated struct { Code int `json:"code"` Message string `json:"message"` TTL int `json:"ttl"` Data struct { RoomID int `json:"room_id"` ShortID int `json:"short_id"` UID int `json:"uid"` IsHidden bool `json:"is_hidden"` IsLocked bool `json:"is_locked"` IsPortrait bool `json:"is_portrait"` LiveStatus int `json:"live_status"` HiddenTill int `json:"hidden_till"` LockTill int `json:"lock_till"` Encrypted bool `json:"encrypted"` PwdVerified bool `json:"pwd_verified"` LiveTime int `json:"live_time"` RoomShield int `json:"room_shield"` AllSpecialTypes []interface{} `json:"all_special_types"` PlayurlInfo struct { ConfJSON string `json:"conf_json"` Playurl struct { Cid int `json:"cid"` GQnDesc []struct { Qn int `json:"qn"` Desc string `json:"desc"` HdrDesc string `json:"hdr_desc"` } `json:"g_qn_desc"` Stream []struct { ProtocolName string `json:"protocol_name"` Format []struct { FormatName string `json:"format_name"` Codec []struct { CodecName string `json:"codec_name"` CurrentQn int `json:"current_qn"` AcceptQn []int `json:"accept_qn"` BaseURL string `json:"base_url"` URLInfo []struct { Host string `json:"host"` Extra string `json:"extra"` StreamTTL int `json:"stream_ttl"` } `json:"url_info"` HdrQn interface{} `json:"hdr_qn"` DolbyType int `json:"dolby_type"` } `json:"codec"` } `json:"format"` } `json:"stream"` P2PData struct { P2P bool `json:"p2p"` P2PType int `json:"p2p_type"` MP2P bool `json:"m_p2p"` MServers interface{} `json:"m_servers"` } `json:"p2p_data"` DolbyQn interface{} `json:"dolby_qn"` } `json:"playurl"` } `json:"playurl_info"` } `json:"data"` }
type BilibiliRoomTitle ¶
type BilibiliRoomTitle struct { Data struct { RoomInfo struct { Title string `json:"title"` } `json:"room_info"` } `json:"data"` }
type DouyinAutoGenerated ¶
type DouyinAutoGenerated struct { App struct { InitialState struct { RoomStore struct { RoomInfo struct { Room struct { IDStr string `json:"id_str"` Status int `json:"status"` StatusStr string `json:"status_str"` Title string `json:"title"` UserCountStr string `json:"user_count_str"` Cover struct { URLList []string `json:"url_list"` } `json:"cover"` StreamURL struct { FlvPullURL struct { FullHd1 string `json:"FULL_HD1"` Hd1 string `json:"HD1"` Sd1 string `json:"SD1"` Sd2 string `json:"SD2"` } `json:"flv_pull_url"` DefaultResolution string `json:"default_resolution"` HlsPullURLMap struct { FullHd1 string `json:"FULL_HD1"` Hd1 string `json:"HD1"` Sd1 string `json:"SD1"` Sd2 string `json:"SD2"` } `json:"hls_pull_url_map"` HlsPullURL string `json:"hls_pull_url"` StreamOrientation int `json:"stream_orientation"` LiveCoreSdkData struct { PullData struct { Options struct { DefaultQuality struct { Name string `json:"name"` SdkKey string `json:"sdk_key"` VCodec string `json:"v_codec"` Resolution string `json:"resolution"` Level int `json:"level"` } `json:"default_quality"` Qualities []struct { Name string `json:"name"` SdkKey string `json:"sdk_key"` VCodec string `json:"v_codec"` Resolution string `json:"resolution"` Level int `json:"level"` } `json:"qualities"` } `json:"options"` StreamData string `json:"stream_data"` } `json:"pull_data"` } `json:"live_core_sdk_data"` } `json:"stream_url"` } `json:"room"` } `json:"roomInfo"` } `json:"roomStore"` } `json:"initialState"` } `json:"app"` }
type DouyinStreamData ¶
type DouyinStreamData struct { Common struct { SessionID string `json:"session_id"` RuleIds string `json:"rule_ids"` } `json:"common"` Data struct { Hd struct { Main struct { Flv string `json:"flv"` Hls string `json:"hls"` Cmaf string `json:"cmaf"` Dash string `json:"dash"` Lls string `json:"lls"` Tsl string `json:"tsl"` Tile string `json:"tile"` SdkParams string `json:"sdk_params"` } `json:"main"` } `json:"hd"` Sd struct { Main struct { Flv string `json:"flv"` Hls string `json:"hls"` Cmaf string `json:"cmaf"` Dash string `json:"dash"` Lls string `json:"lls"` Tsl string `json:"tsl"` Tile string `json:"tile"` SdkParams string `json:"sdk_params"` } `json:"main"` } `json:"sd"` Ld struct { Main struct { Flv string `json:"flv"` Hls string `json:"hls"` Cmaf string `json:"cmaf"` Dash string `json:"dash"` Lls string `json:"lls"` Tsl string `json:"tsl"` Tile string `json:"tile"` SdkParams string `json:"sdk_params"` } `json:"main"` } `json:"ld"` Origin struct { Main struct { Flv string `json:"flv"` Hls string `json:"hls"` Cmaf string `json:"cmaf"` Dash string `json:"dash"` Lls string `json:"lls"` Tsl string `json:"tsl"` Tile string `json:"tile"` SdkParams string `json:"sdk_params"` } `json:"main"` } `json:"origin"` } `json:"data"` }
type InkeAutoGenerated ¶
type InkeAutoGenerated struct { ErrorCode int `json:"error_code"` Message string `json:"message"` Data struct { MediaInfo struct { Nick string `json:"nick"` Portrait string `json:"portrait"` InkeID int `json:"inke_id"` Level int `json:"level"` Gender int `json:"gender"` GenderImg string `json:"gender_img"` Area string `json:"area"` Description string `json:"description"` LevelImg string `json:"level_img"` } `json:"media_info"` File struct { Status int `json:"status"` RecordURL string `json:"record_url"` OnlineUsers int `json:"online_users"` Title string `json:"title"` Pic string `json:"pic"` City string `json:"city"` } `json:"file"` Records []interface{} `json:"records"` Status int `json:"status"` Portrait string `json:"portrait"` Point int `json:"point"` SioIP string `json:"sio_ip"` Liveid string `json:"liveid"` LiveUID string `json:"live_uid"` IsFollow int `json:"is_follow"` WeiboURL string `json:"weibo_url"` WeixinURL string `json:"weixin_url"` Sec string `json:"sec"` ViewUID string `json:"view_uid"` Nonce string `json:"nonce"` Time int `json:"time"` SioMd5 string `json:"sio_md5"` ViewNick string `json:"view_nick"` Token string `json:"token"` TokenTime string `json:"token_time"` Origin interface{} `json:"origin"` IsLogin int `json:"is_login"` SioURL string `json:"sio_url"` LiveAddr []struct { Liveid string `json:"liveid"` StreamAddr string `json:"stream_addr"` HlsStreamAddr string `json:"hls_stream_addr"` RtmpStreamAddr string `json:"rtmp_stream_addr"` } `json:"live_addr"` LiveType string `json:"live_type"` SubLiveType string `json:"sub_live_type"` LiveName string `json:"live_name"` } `json:"data"` }
type KsUserInfoAutoGenerated ¶
Click to show internal directories.
Click to hide internal directories.