mirror of
https://gerrit.osmocom.org/osmo-gbproxy
synced 2024-08-21 10:26:25 +00:00
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
3f76e89fba
commit
b866d3bd4f
2 changed files with 3 additions and 3 deletions
|
@ -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 a new issue