Re: [PATCH] [RFC] Add attach2 to pjmedia transport interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Kal,

Thanks for your patch, we have committed it on https://trac.pjsip.org/repos/ticket/1977 
with some modifications.

Best Regards,

Riza

On Sat, Oct 29, 2016 at 7:45 PM, b17 c0de <b17c0de@xxxxxxxxx> wrote:
Hi,
This patch adds a attach2() member function to pjmedia_transport_op
and the corresponding pjmedia_transport_attach2() function. These new
functions take an additional explicit parameter for the media stream.
This allows all transport adapters in the chain to have access to the
media stream. Currently only the first transport adapter can get
access to the stream by casting the user_data parameter, although this
is also undocumented. This change has been implemented in a way that
allows existing code to continue to work unmodified as before. New
transports should implement attach2() instead of attach().

I look forward to hearing your feedback on this change.

Best Regards,
Kal

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org


_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux