I’m testing the media data handling using a Javascript app. So far, the app is receiving the initial signaling handshake and can connect to an all/audio/video server URL from the data handshake response. Then, it can receive the media data handshake response that looks like the following:
{
media_params: {
audio: {
channel: 1,
codec: 1,
content_type: 2,
data_opt: 1,
sample_rate: 1,
send_rate: 20
},
video: { codec: 5, content_type: 3, data_opt: 3, fps: 5, resolution: 2 }
},
msg_type: 4,
payload_encrypted: false,
protocol_version: 1,
status_code: 0
}
However, there is no data being sent to the ws.on('message', (data) => {...})
handler after the media data handshake response. There is also no media data keep alive requests coming into the media web socket. In the meantime, there are signaling keep alive requests coming into the signaling web socket and they are being handled properly.
Please advise what’s preventing the media data packets from being sent to the media web socket.
Thank you.