mgcp: Disable output enabled on initialisation
Currently RTP output_enabled is set to 1 on initialisation, which does not semantically match the initial value of conn_mode (MGCP_CONN_NONE). This patch changes this initial value to 0. Sponsored-by: On-Waves ehf
This commit is contained in:
parent
94bc1e0b5e
commit
8857c90e36
|
@ -1258,7 +1258,7 @@ static void mgcp_rtp_end_reset(struct mgcp_rtp_end *end)
|
|||
end->frames_per_packet = 0; /* unknown */
|
||||
end->packet_duration_ms = DEFAULT_RTP_AUDIO_PACKET_DURATION_MS;
|
||||
end->rate = DEFAULT_RTP_AUDIO_DEFAULT_RATE;
|
||||
end->output_enabled = 1;
|
||||
end->output_enabled = 0;
|
||||
}
|
||||
|
||||
static void mgcp_rtp_end_init(struct mgcp_rtp_end *end)
|
||||
|
|
|
@ -51,7 +51,7 @@ Connection mode: 2, BTS output disabled, NET output enabled
|
|||
Testing DLCX
|
||||
Detected packet duration: 20
|
||||
Requested packetization period not set
|
||||
Connection mode: 0, BTS output enabled, NET output enabled
|
||||
Connection mode: 0, BTS output disabled, NET output disabled
|
||||
Testing CRCX_ZYN
|
||||
Dummy packets: 1
|
||||
Packet duration not set
|
||||
|
@ -67,7 +67,7 @@ Testing RQNT2
|
|||
Testing DLCX
|
||||
Detected packet duration: 20
|
||||
Requested packetization period not set
|
||||
Connection mode: 0, BTS output enabled, NET output enabled
|
||||
Connection mode: 0, BTS output disabled, NET output disabled
|
||||
Testing CRCX
|
||||
Re-transmitting CRCX
|
||||
Testing RQNT1
|
||||
|
|
Loading…
Reference in New Issue