Attention is currently required from: neels, dexter.
pespin has posted comments on this change. (
https://gerrit.osmocom.org/c/osmo-mgw/+/32218
)
Change subject: mgcp_codec: fix codec decision
......................................................................
Patch Set 10:
(2 comments)
File src/libosmo-mgcp/mgcp_codec.c:
https://gerrit.osmocom.org/c/osmo-mgw/+/32218/comment/cb505aff_45cc6906
PS8, Line 401: * a tentative decision is made.
1) The decision is made for both directions and each
side keeps the result in end.codec. […]
1) ack for dexter. In an endpoint
there's 2 connections (sides), and there's 2 directions on each conn, one Tx and
one Rx. A decision has to be taken for each conn Tx direction (hence 2 decisions).
2) ack for dexter. UDP connections exists I see no weird use in there. In any case in here
we talk about mgcp_conn(_rtp).
3) ack, we must choose when in loopback mode I guess.
File src/libosmo-mgcp/mgcp_network.c:
https://gerrit.osmocom.org/c/osmo-mgw/+/32218/comment/6af8ff5b_95b588d5
PS8, Line 511: rtp_hdr->payload_type = (uint8_t)
conn_dst->end.codec->payload_type;
I think there must be a consciously chosen payload
type for each connection (endpoint is the entity […]
ACK, AFAIU the PayloadType is
assigned to a connection, not to an endpoint.
--
To view, visit
https://gerrit.osmocom.org/c/osmo-mgw/+/32218
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: I6c3291f825488e5d8ce136aeb18450156794aeb5
Gerrit-Change-Number: 32218
Gerrit-PatchSet: 10
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-CC: laforge <laforge(a)osmocom.org>
Gerrit-Attention: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Attention: dexter <pmaier(a)sysmocom.de>
Gerrit-Comment-Date: Thu, 27 Apr 2023 12:37:41 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: neels <nhofmeyr(a)sysmocom.de>
Comment-In-Reply-To: dexter <pmaier(a)sysmocom.de>
Gerrit-MessageType: comment