mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-06 19:58:10 +08:00
Updated MediaServer支持的HTTP API (markdown)
@@ -302,6 +302,17 @@ typedef enum {
|
||||
"totalReaderCount" : 0, # 观看总人数,包括hls/rtsp/rtmp/http-flv/ws-flv
|
||||
"schema" : "rtsp", # 协议
|
||||
"stream" : "obs", # 流id
|
||||
"originSock": { # 客户端和服务器网络信息,可能为null类型
|
||||
"identifier": "140241931428384",
|
||||
"local_ip": "127.0.0.1",
|
||||
"local_port": 1935,
|
||||
"peer_ip": "127.0.0.1",
|
||||
"peer_port": 50097
|
||||
},
|
||||
"originType": 1, # 产生源类型,包括 unknown = 0,rtmp_push=1,rtsp_push=2,rtp_push=3,pull=4,ffmpeg_pull=5,mp4_vod=6,device_chn=7
|
||||
"originTypeStr": "MediaOriginType::rtmp_push",
|
||||
"originUrl": "rtmp://127.0.0.1:1935/live/hks2", #产生源的url
|
||||
|
||||
"tracks" : [ # 音视频轨道
|
||||
{
|
||||
"channels" : 1, # 音频通道数
|
||||
|
||||
Reference in New Issue
Block a user