A question about pjmedia

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

 



Do you want to just forward the RTP received/read from the other
application?

Since it is already packeted in RTP, you can simply utilize the UDP
transport
(http://www.pjsip.org/pjmedia/docs/html/group__PJMEDIA__TRANSPORT__UDP.htm)
the pseudo code will be simply:

------------------
pjmedia_transport *tp;
void *pkt;
pj_size_t pkt_size;

pjmedia_transport_udp_createX(..., &tp);

while (read_rtp_in(pkt, &pkt_size)) {
  pjmedia_transport_send_rtp(tp, pkt, pkt_size);
}

pjmedia_transport_close(tp);
------------------

*read_rtp_in() is function to read the RTP received from the app sender.


nanang


On 28/03/2008, MOSBAH ABDELKADER <abdelkader2006 at gmail.com> wrote:
> Hello all,
>
> I have an RTP data delivered by an application with the format: "raw PCM
> samples 16 KHz mono, 16 bit".
>
> How to send this format with pjmedia.
>
> Thanks.
>
> _______________________________________________
>  Visit our blog: http://blog.pjsip.org
>
>  pjsip mailing list
>  pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080328/f78a3327/attachment.html 


[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