Pjsip with video

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

 



On Wed, Apr 29, 2009 at 8:44 AM, P.Muge Ersoy <muge.ersoy at gmail.com> wrote:

> I decided to keep one endpoint and continue with one session including to
> streams(video and audio)
>
> Whould you point out a way to sniff video packets from "on_rx_rtp"
> funtion.. It always gets the audio frames ..
>
>
Never did video myself of course, but I think it could be done like this:
 - use one endpoint (there should only be one endpoint in one application
instance)
 - use one session for each call
 - the session contains one pjmedia_stream for the audio, and your own
object to handle vide
 - you will need two pjmedia_transport instances, one for audio and another
for video

If you only have one media transport and if this is assigned to the stream
(the audio), of course you will get audio frames there.

cheers
 Benny




> Thanks
> Mg
>
>
> On Tue, Apr 28, 2009 at 5:10 PM, P.Muge Ersoy <muge.ersoy at gmail.com>wrote:
>
>> Hi Benny;
>>
>> Is it better to create two session to add video to pjsip rather than
>> creating secondory video stream in one session.. If i create one session
>> with two streams ,there will be one endpt and i am thinking how to send
>> video rtp packets. If i create two session there will be second media thread
>> which i can use send and receive video media rtp packets. If i use one
>> session with audio and video streams should i implement thread to send and
>> receive rtp packets? or am i able to use existing media thread?
>>
>> Regards
>> Mg
>>
>
>
> _______________________________________________
> 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/20090430/62c0daf7/attachment-0001.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