On Wed, Oct 6, 2021 at 6:54 AM Jean Aunis <jean.au...@prescom.fr> wrote:

> Hello,
>
> I have a question regarding the use of a framehook in bridge_native_rtp.
>
> The framehook is used to redirect RTP streams when a hold, unhold or RTP
> update is detected.
>
> But what's the reason for doing this in a framehook ? Why not doing it
> in the native_rtp_bridge_write callback ? Doing this in the framehook is
> somehow more "complex" since it implies restoring a proper lock order.
>

I don't remember specific reasoning. It may or may not work as needed there.

-- 
Joshua C. Colp
Asterisk Technical Lead
Sangoma Technologies
Check us out at www.sangoma.com and www.asterisk.org
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to