[pjsip] Add video to PJSIP

xutm xutom2006 at gmail.com
Sat Aug 15 20:45:45 EDT 2009


Hi fcch2k,

When create SDP, you can specify the audio and video port. For my case, I
set the video port as audio port plus 80. If the audio port is 4000, the
video one is 4080, and there is no  confusion. Then I send 4080 to VLC(VLC
bind the port 4080). So the audio RTP packages go to the port 4000, while
the video RTP packages go to 4080

Regards,
xutm

2009/8/15 fcch2k <fcch2000 at gmail.com>

> Hi xutom,
>
> Will cause any confusion since VLC and Pjsip use the same local port?
> Who (VLC or Pjsip) will process the incoming RTP packages for the same
> local port?
>
>
>
> On Fri, Aug 14, 2009 at 12:57 AM, xutm <xutom2006 at gmail.com> wrote:
>
>> Hi fcch2k
>>
>> Exactly VLC use random local source port default. But you can change the
>> corresponding code of VLC.
>> Indeed, I call method bind before connect in src/network/udp.c to bind my
>> local source port , instead of only calling method connect to bind random
>> local source port.
>> Please view the topic:
>> http://forum.videolan.org/viewtopic.php?f=32&t=62140
>>
>> 2009/8/14 fcch2k <fcch2000 at gmail.com>
>>
>> Hi Xutm,
>>>
>>> How to use the VLC to send video stream behind the NATs?
>>> The VLC cannot specify the local source port. Here is the link from
>>> VideoLan
>>>
>>>
>>> http://forum.videolan.org/viewtopic.php?f=32&t=63638&p=212608&hilit=source+port%E2%80%A6#p212608
>>>
>>>
>>> On 8/10/09, Shayne O'Neill <shayne.oneill at gmail.com> wrote:
>>> >
>>> > It might also be worth looking at the OPAL suite if you need a
>>> > standards based video solution. OPAL , imho, isn't nearly a complete a
>>> > SIP implementation as PJSip, which is very acomplished, audio-wise,
>>> > but it does have video support for H323 , and probably SIP.
>>> >
>>> > Its also a lot more work, but if your developing apps, thems the
>>> > breaks. If you want to port to a mobile app, you'll need to port PTLib
>>> > which looks to be bit of a task.
>>> >
>>> > On 10/08/2009, at 5:35 PM, SIDIMOULAY wrote:
>>> >> Hi,
>>> >>
>>> >> I am a new user of SIP applications, I'm working on a matter of
>>> >> course that is aimed at adding a video codec to PJSIP (H264), I did
>>> >> the rounds of the Internet for over a month, I managed to add the
>>> >> audio codecs but no video.
>>> >> I'm waiting for all your suggestions and advices
>>> >>
>>> >> Regards
>>> >>
>>> >>
>>> >> __________ Information provenant d'ESET Smart Security, version de
>>> >> la base des signatures de virus 4321 (20090810) __________
>>> >>
>>> >> Le message a été vérifié par ESET Smart Security.
>>> >>
>>> >> http://www.eset.com
>>> >> _______________________________________________
>>> >> 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
>>> >
>>> > ===================================
>>> > Shayne O'Neill Development
>>> > Mobile, Web and Business process integration.
>>> > shayne.oneill at gmail.com 0400247091
>>> > Ask me about how Alfresco can help your business grow.
>>> >
>>> >
>>> > _______________________________________________
>>> > 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
>>> >
>>>
>>> _______________________________________________
>>> 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
>>>
>>
>>
>> _______________________________________________
>> 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
>>
>>
>
> _______________________________________________
> 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/20090816/8828f053/attachment.html>


More information about the pjsip mailing list