|
|
@ -2183,9 +2183,9 @@ static void start_rtp(struct unistim_subchannel *sub)
|
|
|
|
buffsend[16] = (htons(sin.sin_port) & 0x00ff);
|
|
|
|
buffsend[16] = (htons(sin.sin_port) & 0x00ff);
|
|
|
|
buffsend[20] = (us.sin_port & 0xff00) >> 8;
|
|
|
|
buffsend[20] = (us.sin_port & 0xff00) >> 8;
|
|
|
|
buffsend[19] = (us.sin_port & 0x00ff);
|
|
|
|
buffsend[19] = (us.sin_port & 0x00ff);
|
|
|
|
buffsend[11] = codec;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
buffsend[12] = codec;
|
|
|
|
buffsend[11] = codec; /* rx */
|
|
|
|
|
|
|
|
buffsend[12] = codec; /* tx */
|
|
|
|
send_client(SIZE_HEADER + sizeof(packet_send_open_audio_stream_tx), buffsend,
|
|
|
|
send_client(SIZE_HEADER + sizeof(packet_send_open_audio_stream_tx), buffsend,
|
|
|
|
sub->parent->parent->session);
|
|
|
|
sub->parent->parent->session);
|
|
|
|
|
|
|
|
|
|
|
@ -2213,9 +2213,9 @@ static void start_rtp(struct unistim_subchannel *sub)
|
|
|
|
buffsend[16] = (htons(sin.sin_port) & 0x00ff);
|
|
|
|
buffsend[16] = (htons(sin.sin_port) & 0x00ff);
|
|
|
|
buffsend[20] = (us.sin_port & 0xff00) >> 8;
|
|
|
|
buffsend[20] = (us.sin_port & 0xff00) >> 8;
|
|
|
|
buffsend[19] = (us.sin_port & 0x00ff);
|
|
|
|
buffsend[19] = (us.sin_port & 0x00ff);
|
|
|
|
buffsend[12] = codec;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
buffsend[11] = codec;
|
|
|
|
buffsend[11] = codec; /* rx */
|
|
|
|
|
|
|
|
buffsend[12] = codec; /* tx */
|
|
|
|
send_client(SIZE_HEADER + sizeof(packet_send_open_audio_stream_rx), buffsend,
|
|
|
|
send_client(SIZE_HEADER + sizeof(packet_send_open_audio_stream_rx), buffsend,
|
|
|
|
sub->parent->parent->session);
|
|
|
|
sub->parent->parent->session);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|