Attention is currently required from: falconia.

pespin has posted comments on this change by falconia. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/42167?usp=email )

Change subject: RTP: add vty option for ortp vs twrtp selection
......................................................................


Patch Set 5:

(2 comments)

File src/common/vty.c:

https://gerrit.osmocom.org/c/osmo-bts/+/42167/comment/ad5a44e4_8ae46c69?usp=email
 :
PS5, Line 434:  if (bts->use_twrtp != g_use_twrtp_default) {
> my implementation only one line of code will need to change at that point

same with the other approach, where

    if (bts->use_twrtp) vty_out(vty, " rtp library twrtp%s", VTY_NEWLINE);

becomes

    if (!bts->use_twrtp) vty_out(vty, " rtp library ortp%s", VTY_NEWLINE);


>  --disable-ortp

When that's added (soon I hope :P) simply add an extra #ifdef HAVE_ORTP around 
those lines.


https://gerrit.osmocom.org/c/osmo-bts/+/42167/comment/1644d785_fc3a6744?usp=email
 :
PS5, Line 1529:         vty_out(vty,
> Considering our already set plan to change the default at some point in the 
> not too distant future,  […]
I understand your point, but this simply deviates for how all the other 
N-thousand parameteres we have in the code, because otherwise we'd need to have 
tons of global variables and it's something I'd like to avoid to make the code 
more complex.

If a user wants to figure out the default, simply drop the config and start the 
program + use vty, or look at the code, or the user manual.

So my opinion on this is that this patch should follow similar ways as done for 
all the other N-thousand params, otherwise it's more hassle to maintain. It 
also creates different expectancies for users in relation to the other 
parameters. If others are fine with having it this way though, I won't oppose.



--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/42167?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Iff4e3a399250c16ba8fe4cb12e4e22f4c6b346ec
Gerrit-Change-Number: 42167
Gerrit-PatchSet: 5
Gerrit-Owner: falconia <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-Attention: falconia <[email protected]>
Gerrit-Comment-Date: Tue, 24 Feb 2026 15:08:56 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: falconia <[email protected]>
Comment-In-Reply-To: pespin <[email protected]>

Reply via email to