Add video to PJSIP

X
xutm
Thu, Aug 20, 2009 8:52 AM

Hi fcch2k,

When I modify the VLC code and compile, the modification just does not make
sense at all. I do not know why and how to solve the problem. So now I write
the video attributes into a configure file, then VLC read the video
attributes from the configure file and do next.
If you know a better method, please let me know.

Regards,
xutm

2009/8/20 fcch2k fcch2000@gmail.com

Hi Xutm,
I am able to bind the a specific local port in the vlc
__net_ConnectDgram(). But I am still not able to pass the local port
dymically from pjsip sdp to the VLC.
Do you know how to pass the local port from pjsip to VLC?

Thanks,

fcch

On 8/15/09, xutm xutom2006@gmail.com wrote:

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@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@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@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

On 8/10/09, Shayne O'Neill shayne.oneill@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@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@gmail.com 0400247091
Ask me about how Alfresco can help your business grow.


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

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

Hi fcch2k, When I modify the VLC code and compile, the modification just does not make sense at all. I do not know why and how to solve the problem. So now I write the video attributes into a configure file, then VLC read the video attributes from the configure file and do next. If you know a better method, please let me know. Regards, xutm 2009/8/20 fcch2k <fcch2000@gmail.com> > Hi Xutm, > I am able to bind the a specific local port in the vlc > __net_ConnectDgram(). But I am still not able to pass the local port > dymically from pjsip sdp to the VLC. > Do you know how to pass the local port from pjsip to VLC? > > Thanks, > > fcch > > On 8/15/09, xutm <xutom2006@gmail.com> wrote: > > 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@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@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@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@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@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@gmail.com 0400247091 > >>>> > Ask me about how Alfresco can help your business grow. > >>>> > > >>>> > > >>>> > _______________________________________________ > >>>> > Visit our blog: http://blog.pjsip.org > >>>> > > >>>> > pjsip mailing list > >>>> > pjsip@lists.pjsip.org > >>>> > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >>>> > > >>>> > >>>> _______________________________________________ > >>>> Visit our blog: http://blog.pjsip.org > >>>> > >>>> pjsip mailing list > >>>> pjsip@lists.pjsip.org > >>>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >>>> > >>> > >>> > >>> _______________________________________________ > >>> Visit our blog: http://blog.pjsip.org > >>> > >>> pjsip mailing list > >>> pjsip@lists.pjsip.org > >>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >>> > >>> > >> > >> _______________________________________________ > >> Visit our blog: http://blog.pjsip.org > >> > >> pjsip mailing list > >> pjsip@lists.pjsip.org > >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >> > >> > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >