Attention is currently required from: dexter.

pespin has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-mgw/+/27392 )

Change subject: mgcp_codec: fix oa/bwe comparison in mgcp_codec_pt_translate()
......................................................................


Patch Set 4:

(2 comments)

File src/libosmo-mgcp/mgcp_codec.c:

https://gerrit.osmocom.org/c/osmo-mgw/+/27392/comment/e2cb63a7_759fc0df
PS1, Line 369: static bool codecs_same(struct mgcp_rtp_codec *codec_a, struct 
mgcp_rtp_codec *codec_b, bool match_pload_fmt)
> I don't think that this is good. I would find this parameter naming very 
> confusing. […]
Format conversion *is* transcoding :D


https://gerrit.osmocom.org/c/osmo-mgw/+/27392/comment/2a205f76_d0784c93
PS1, Line 431:  /* In case we weren't able to find an exact match, we will try 
to find a match that is the same codec, but the
> I do not see where this is not generic. […]
I think that was precisely my point at the time (some weeks ago when I wrote my 
comment).

I think you are mixing 2 things in the same function here:
* Matching for the exact same codec (aka forwarding)
* Matching if 2 codecs can be transcoded with current transcoding support.

IMHO those are 2 different functions and they will differ more and more over 
time as we hopefully start supporting more transcoding at some point. Hence why 
it is really a good idea to already have 2 functions, not 1.



--
To view, visit https://gerrit.osmocom.org/c/osmo-mgw/+/27392
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: Ifbd201a2749009a4644a29bd77e1d0fc0c124a9d
Gerrit-Change-Number: 27392
Gerrit-PatchSet: 4
Gerrit-Owner: dexter <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: msuraev <[email protected]>
Gerrit-CC: laforge <[email protected]>
Gerrit-CC: pespin <[email protected]>
Gerrit-Attention: dexter <[email protected]>
Gerrit-Comment-Date: Wed, 22 Mar 2023 16:36:35 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <[email protected]>
Comment-In-Reply-To: dexter <[email protected]>
Gerrit-MessageType: comment

Reply via email to