{ | |
"videoroom" : "rtp_forward", | |
"room" : <unique numeric ID, same as request>, | |
"publisher_id" : <unique numeric ID, same as request>, | |
"rtp_stream" : { | |
"host" : "<host this forwarder is streaming to, same as request>", | |
"audio" : <audio port, same as request if configured>, | |
"audio_stream_id" : <unique numeric ID assigned to the audio RTP forwarder, if any>, | |
"video" : <video port, same as request if configured>, | |
"video_stream_id" : <unique numeric ID assigned to the main video RTP forwarder, if any>, | |
"video_2" : <second video port, same as request if configured>, | |
"video_stream_id_2" : <unique numeric ID assigned to the second video RTP forwarder, if any>, | |
"video_3" : <third video port, same as request if configured>, | |
"video_stream_id_3" : <unique numeric ID assigned to the third video RTP forwarder, if any>, | |
"data" : <data port, same as request if configured>, | |
"data_stream_id" : <unique numeric ID assigned to datachannel messages forwarder, if any> | |
} | |
} |
{ | |
"request" : "rtp_forward", | |
"room" : <unique numeric ID of the room the publisher is in>, | |
"publisher_id" : <unique numeric ID of the publisher to relay externally>, | |
"host" : "<host address to forward the RTP and data packets to>", | |
"audio_port" : <port to forward the audio RTP packets to>, | |
"audio_ssrc" : <audio SSRC to use to use when streaming; optional>, | |
"audio_ptype" : <audio payload type to use when streaming; optional>, | |
"video_port" : <port to forward the video RTP packets to>, | |
"video_ssrc" : <video SSRC to use to use when streaming; optional>, | |
"video_ptype" : <video payload type to use when streaming; optional>, | |
"video_port_2" : <if simulcasting or doing VP9-SVC, port to forward the video RTP packets from the second substream/layer to>, | |
"video_ssrc_2" : <if simulcasting or doing VP9-SVC, video SSRC to use to use the second substream/layer; optional>, | |
"video_ptype_2" : <if simulcasting or doing VP9-SVC, video payload type to use the second substream/layer; optional>, | |
"video_port_3" : <if simulcasting or doing VP9-SVC, port to forward the video RTP packets from the third substream/layer to>, | |
"video_ssrc_3" : <if simulcasting or doing VP9-SVC, video SSRC to use to use the third substream/layer; optional>, | |
"video_ptype_3" : <if simulcasting or doing VP9-SVC, video payload type to use the third substream/layer; optional>, | |
"data_port" : <port to forward the datachannel messages to>, | |
"srtp_suite" : <length of authentication tag (32 or 80); optional>, | |
"srtp_crypto" : "<key to use as crypto (base64 encoded key as in SDES); optional>" | |
} |
"videoroom":"rtp_forward",
"room":"487",
"publisher_id": 123,
"rtp_stream" :{
"host",ip
}
}
attempt 4.
{"body":{"request":"rtp_forward","publisher_id":3153615434288867,"room": 1234, "host":"127.0.0.1","port":5000,"secret":"adminpwd" }, "janus":"message","apisecret" : "janusrocks","transaction":"o4vup0qoomd"}