{
"server": "hhYzGwB40kJIQnvJ",
"id": 3,
"type": "request",
"methods": [
{
"method_id": "add-object",
"manager_id": "dvcmgr",
"object_id": "inrtpdvc",
"category": "device",
"params": {
"device_type": "rtp",
"sessions": [
{
"media_type": "video",
"direction": "recvonly",
"protocols": [
"rtp",
"avp"
],
"transport": {
"transport_id": "udp",
"bundle": true,
"rtcp_mux": false,
"local_endpoint": {
"rtp_endpoint": {
"address": {
"ip": "127.0.0.1"
},
"port": 5000
}
}
},
"inbound_stream": {
"codecs": [
{
"media_type": "video",
"codec_id": "H264",
"sample_rate": 90000,
"channels": 1,
"payload_type": 96,
"rtcp": {
"nack pli": "",
"ccm fir": ""
}
}
],
"stream": {
"sources": [
{
"ssrc_id": 1234567
}
]
}
}
},
{
"media_type": "video",
"direction": "recvonly",
"protocols": [
"rtp",
"avp"
],
"transport": {
"transport_id": "udp",
"bundle": true,
"rtcp_mux": false,
"local_endpoint": {
"rtp_endpoint": {
"address": {
"ip": "127.0.0.1"
},
"port": 5000
}
}
},
"inbound_stream": {
"codecs": [
{
"media_type": "video",
"codec_id": "H264",
"sample_rate": 90000,
"channels": 1,
"payload_type": 96,
"rtcp": {
"nack pli": "",
"ccm fir": ""
}
}
],
"stream": {
"sources": [
{
"ssrc_id": 7654321
}
]
}
}
}
]
}
},
{
"method_id": "add-object",
"manager_id": "dvcmgr",
"object_id": "outrtpdvc",
"category": "device",
"params": {
"device_type": "rtp",
"sessions": [
{
"media_type": "video",
"direction": "sendonly",
"protocols": [
"rtp",
"avp"
],
"transport": {
"transport_id": "udp",
"bundle": true,
"rtcp_mux": false,
"remote_endpoint": {
"rtp_endpoint": {
"address": {
"ip": "127.0.0.1"
},
"port": 5002
}
}
},
"outbound_stream": {
"codecs": [
{
"media_type": "video",
"codec_id": "H264",
"sample_rate": 90000,
"channels": 1,
"payload_type": 96,
"rtcp": {
"nack pli": "",
"ccm fir": ""
}
}
],