文档
测试

获取直播间信息

GET
/getLiveRoom?liveId=5

接口描述

直播间观众根据直播间ID,查找直播间(密码只会返回null)

请求参数

参数名
类型
描述
必填
liveId
Integer
直播间ID
必填

响应参数

参数名
类型
描述
必填
message
object
示例:null
必填
data
object
数据字典
必填
liveId
int
示例:5
必填
userId
string
示例:123456
必填
liveAddress
object
示例:null
必填
mediaAddress
string
示例:http://121.5.111.192:1935/flv/deea1b86149e4321abe3925d06690206
必填
startDate
string
示例:2022-04-03T17:01:52.000+0000
必填
endDate
string
示例:2022-04-03T17:01:58.000+0000
必填
currentState
int
示例:1
必填
livePassword
object
示例:null
必填
code
int
示例:200
必填