Skip to content
关注公众号,获取新课通知

查看直播推拉流地址


接口URL

http://demonuxtapi.dishait.cn/admin/s/live/read?id=2

请求方式

GET

Content-Type

application/x-www-form-urlencoded

请求Header参数

参数名示例值参数类型是否必填参数描述
tokeneyj...NjString用户token
schoolid11Integer网校id

请求Query参数

参数名示例值参数类型是否必填参数描述
id2String-

成功响应示例

json5
{
	"msg": "ok",
	"data": {
		"id": 2,
		"title": "第一个直播11",
		"cover": "http://...png",
		"try": "第一个直播介绍",
		"key": "3304f5102801e84f3412",
		"price": "9.98",
		"t_price": "20.00",
		"school_id": 11,
		"sub_count": 0,
		"start_time": "2021-04-02T17:00:00.000Z",
		"end_time": "2022-04-03T17:00:00.000Z",
		"created_time": "2021-10-15T12:35:00.000Z",
		"updated_time": "2021-10-15T12:36:47.000Z",
		"pushurl": "rtmp://127.0.0.1:23482/live/3304f5102801e84f3412?sign=1649005200000-ddc3ca9d9f93fa98a2cc4df09d90475b",
		"playUrl": "http://...png"
	},
	"code": 20000
}