{
"mediaServerId": "string",
"regist": true,
"app": "string",
"stream": "string",
"callId": "string",
"totalReaderCount": "string",
"schema": "string",
"originType": 0,
"originSock": {
"identifier": "string",
"local_ip": "string",
"local_port": 0,
"peer_ip": "string",
"peer_port": 0,
"typeid": "string"
},
"originTypeStr": "string",
"originUrl": "string",
"severId": "string",
"createStamp": 0,
"aliveSecond": 0,
"bytesSpeed": 0,
"tracks": [
{
"channels": 0,
"codec_id": 0,
"codec_id_name": "string",
"codec_type": 0,
"fps": 0,
"height": 0,
"ready": true,
"width": 0,
"frames": 0,
"sample_bit": 0,
"sample_rate": 0,
"gop_interval_ms": 0,
"gop_size": 0,
"key_frames": 0,
"duration": 0,
"loss": 0
}
],
"vhost": "string",
"docker": true,
"streamInfo": {
"app": "string",
"stream": "string",
"ip": "string",
"flv": "string",
"https_flv": "string",
"ws_flv": "string",
"wss_flv": "string",
"fmp4": "string",
"https_fmp4": "string",
"ws_fmp4": "string",
"wss_fmp4": "string",
"hls": "string",
"https_hls": "string",
"ws_hls": "string",
"wss_hls": "string",
"ts": "string",
"https_ts": "string",
"ws_ts": "string",
"wss_ts": "string",
"rtmp": "string",
"rtmps": "string",
"rtsp": "string",
"rtsps": "string",
"rtc": "string",
"rtcs": "string",
"mediaServerId": "string",
"tracks": {},
"startTime": "string",
"endTime": "string",
"progress": 0
}
}curl --location 'http://127.0.0.1:8086/index/hook/on_stream_changed' \
--header 'Content-Type: application/json' \
--data '{
"mediaServerId": "string",
"regist": true,
"app": "string",
"stream": "string",
"callId": "string",
"totalReaderCount": "string",
"schema": "string",
"originType": 0,
"originSock": {
"identifier": "string",
"local_ip": "string",
"local_port": 0,
"peer_ip": "string",
"peer_port": 0,
"typeid": "string"
},
"originTypeStr": "string",
"originUrl": "string",
"severId": "string",
"createStamp": 0,
"aliveSecond": 0,
"bytesSpeed": 0,
"tracks": [
{
"channels": 0,
"codec_id": 0,
"codec_id_name": "string",
"codec_type": 0,
"fps": 0,
"height": 0,
"ready": true,
"width": 0,
"frames": 0,
"sample_bit": 0,
"sample_rate": 0,
"gop_interval_ms": 0,
"gop_size": 0,
"key_frames": 0,
"duration": 0,
"loss": 0
}
],
"vhost": "string",
"docker": true,
"streamInfo": {
"app": "string",
"stream": "string",
"ip": "string",
"flv": "string",
"https_flv": "string",
"ws_flv": "string",
"wss_flv": "string",
"fmp4": "string",
"https_fmp4": "string",
"ws_fmp4": "string",
"wss_fmp4": "string",
"hls": "string",
"https_hls": "string",
"ws_hls": "string",
"wss_hls": "string",
"ts": "string",
"https_ts": "string",
"ws_ts": "string",
"wss_ts": "string",
"rtmp": "string",
"rtmps": "string",
"rtsp": "string",
"rtsps": "string",
"rtc": "string",
"rtcs": "string",
"mediaServerId": "string",
"tracks": {},
"startTime": "string",
"endTime": "string",
"progress": 0
}
}'{
"code": 0,
"msg": "string"
}