ICE-MISMATCH error

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

 



?
I ran two pjsua clients in the local network with ICE and STUN enabled, however I found ice-mismatch error. Both clients first login iptel.org then call each other, the configuration is pretty similar for both pjsip clients,
?
--id sip:user1 at iptel.org
--registrar sip:iptel.org
--realm iptel.org
--username user1
--password pass1
--use-ice
--stun-srv stun.iptel.org
?
Any help on it?
Thanks.

--- On Sat, 10/11/08, pjsip-request at lists.pjsip.org <pjsip-request at lists.pjsip.org> wrote:

From: pjsip-request@xxxxxxxxxxxxxxx <pjsip-request at lists.pjsip.org>
Subject: pjsip Digest, Vol 14, Issue 25
To: pjsip at lists.pjsip.org
Date: Saturday, October 11, 2008, 9:00 AM

Send pjsip mailing list submissions to
	pjsip at lists.pjsip.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
or, via email, send a message with subject or body 'help' to
	pjsip-request at lists.pjsip.org

You can reach the person managing the list at
	pjsip-owner at lists.pjsip.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of pjsip digest..."


Today's Topics:

   1. Regarding pjproject symbian UI design edit problem
      (Rawshan Iajdani)
   2. Re: Add video (Hubert Langevin)
   3. Re: No sound on windows mobile 6 (John Mervin)
   4. Re: Check account registration status (Alexei Kuznetsov)


----------------------------------------------------------------------

Message: 1
Date: Sat, 11 Oct 2008 03:25:13 +0600
From: "Rawshan Iajdani" <iajdani@xxxxxxxxxxx>
Subject: Regarding pjproject symbian UI design edit problem
To: <pjsip at lists.pjsip.org>
Message-ID: <000501c92b1e$b094e110$11bea330$@com>
Content-Type: text/plain; charset="us-ascii"

I built and ran pjproject for symbian and its fine. But when I try to open
symbian_ua_gui on carbide it shows me that the project is not configured for
UI design editor. I suppose the application.uidesign should reside on the
project root but its in symbian_ua_gui folder src. Could anybody shed some
light on these. I am kinda stuck and confused.

 

 

Thanks

Rawshan Iajdani

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20081011/4ea02be1/attachment-0001.html>

------------------------------

Message: 2
Date: Sat, 11 Oct 2008 16:53:10 +1100
From: "Hubert Langevin" <hubertlangevin@xxxxxxxxx>
Subject: Re: Add video
To: "pjsip list" <pjsip at lists.pjsip.org>
Message-ID:
	<923899470810102253h1f7661e3s44e4cf4933165538 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Hi Mugo,

No i don't create another stream for video. I just make sure the port
ranges for audio and video don't overlap. For example for audio i do
the usual pjsip thing, start the port range at 4000 and with a maximum
of 32 calls it'll go up to 4063. For the video i've got a config file
that pjsua_app.c reads at startup. In there i specify what port video
should start at. And i usually put it at 6000. When the application
runs it checks if those ports are free or not and starts using them.
This way my audio and video ports don't overlap.

When i create my SDP, and before i send the offer, the initial port
for video is the one that i specified in the video config file. After
having sent the offer and read the incoming remote_sdp, what i pass to
VLC is just the port number to transmit to, IP address to transmit to,
transcoding codec, video bit rate and the mux type. I pass it to the
commands buffer of VLC and use the functions VLC_Create(),
VLC_Init(int, int, char **s), VLC_Play(int),VLC_FullScreen(int),
etc... So to answer your question no i don't let PJSIP handle the
video streams. I use PJSIP only for SDP negotiation that's it. I leave
PJSIP to take care of all the audio streams and ports. And i keep the
video part to VLC, including its transport and everything else. PJSIP
doesn't touch that part.

I can see you're using H264. I am too. Did you ever have two incoming
H264 streams on your PC? How was your CPU usage?. When i have more
than one on my PC my CPU usage doesn't look too good..

Hubert

On Fri, Oct 10, 2008 at 7:26 PM, P.Muge Ersoy <muge.ersoy at gmail.com>
wrote:
> Hi Hubert;
>
> Haven't you created another stream for video ?
>
> As far as i understand after SDP negotiation you get if there is video
> stream or not...
>
> This is my OK answer form pjsip to another sip client
>
> m=audio 4000 RTP/AVP 3
> a=rtpmap:3 GSM/8000
> m=video 4002 RTP/AVP 98
> a=rtpmap:98 H264/90000
> a=recvonly
>
> Everything seems pretty. But after streams are created Pjsip mixes the
ports
> with audio and video and it all crashes ...
> How is your point of view to audio and video streams in your application.
>
> Regards
> Muge
>
>
> On Fri, Oct 10, 2008 at 1:02 AM, Hubert Langevin
<hubertlangevin at gmail.com>
> wrote:
>>
>> Hello everyone,
>>
>> I'm using VLC for video streaming in pjsip. I haven't
completely
>> finished it yet but i can now make some video calls between PCs. In
>> the callback on_call_state() in pjsua_app.c when i get an incoming
>> call i check if it has video media. I do this by grabbing the
>> local_sdp and remote_sdp using call_id, acquire_call,
>> pjmedia_sdp_neg_get_active_local(),
>> pjmedia_sdp_neg_get_active_remote(), etc. I also had to change a few
>> things in negotiating SDP's. If i have video media i just grab the
>> remote IP and port number out of the remote_sdp, put these values in
>> the commands buffer for VLC and start playing from remote stream and
>> streaming off my webcam using the VLC functions: VLC_Create(),
>> VLC_Init(int, int, char **s), VLC_Play(int), VLC_AddIntf(int, char *s,
>> int, int), VLC_Die(), VLC_CleanUp(), VLC_Destroy(), VLC_Pause(int),
>> VLC_Stop(int), VLC_FullScreen(int). It works fine but as soon as I get
>> two video calls up on my PC my CPU usage jumps really high and stays
>> there for the duration of the two calls. Is it because I'm using
the
>> wrong type of video codec? I'm currently using H264.
>>
>> Any ideas would be greatly appreciated.
>>
>> Hubert
>>
>> On Fri, Oct 10, 2008 at 4:39 AM, Tiago R?s <tiagores at gmail.com>
wrote:
>> > Hello all,
>> > Thanks for your responses.
>> >
>> > My Idea is to make some kind of videoconference. It should be
signaled
>> > with
>> > SIP, and stream via RTP.
>> > I'm able to capture video using directshow libraries, and it
would be
>> > great
>> > to use transport functions of PJSIP to do the rest.
>> > What do you think?
>> >
>> > Thanks,
>> > Tiago
>> >
>> > 2008/10/9 P.Muge Ersoy <muge.ersoy at gmail.com>
>> >>
>> >> Hi;
>> >>
>> >> Did you able to start two way stream with 264 . I have some
port issues
>> >> ..
>> >> video stream is using audio streams port.. i will be handling
it soon i
>> >> guess..
>> >>
>> >> and what are you using for displaying stream , ? VLC or
ffmpeg  .?
>> >>
>> >> muge
>> >>
>> >> On Thu, Oct 9, 2008 at 4:27 PM, Perry Ismangil
<perry at pjsip.org> wrote:
>> >>>
>> >>> emanuele bottegoni wrote:
>> >>>>
>> >>>> Hi Tiago,
>> >>>>
>> >>>> I've added negotation to receive H264 streams,is
it interesting for
>> >>>> you?
>> >>>> Tell me your problem and if it's possible I can
help you.
>> >>>>
>> >>>> Emanuele Bottegoni
>> >>>>
>> >>>>
>> >>>
>> >>> Hi Emanuele,
>> >>>
>> >>> Certainly, adding video support is always interesting.
Contact me if
>> >>> you
>> >>> are willing to write a wiki page or a blog post about it.
>> >>>
>> >>> Thank you for your support,
>> >>>
>> >>>
>> >>> --
>> >>> Perry Ismangil
>> >>> http://www.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
>> >
>> >
>>
>> _______________________________________________
>> 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
>
>



------------------------------

Message: 3
Date: Sat, 11 Oct 2008 13:52:46 +0200
From: "John Mervin" <johnmervin83@xxxxxxxxx>
Subject: Re: No sound on windows mobile 6
To: "pjsip list" <pjsip at lists.pjsip.org>
Message-ID:
	<37c769f80810110452od15082fta1614a254536d207 at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi Nanang,

Thank's for sharing with us your experience.
It is the solution, all is working fine.

Thank you very much !!!!!!
John

2008/10/10 Nanang Izzuddin <nanang at pjsip.org>

> Hi,
>
> Since I'm no expert, just try to inform you that on WM platforms there
> is a new alternative sound device implementation, it is actually WMME
> the same as PortAudio implementation, or may be just the 'simple'
> version. You can activate it by setting PJMEDIA_SOUND_IMPLEMENTATION
> to PJMEDIA_SOUND_WIN32_MME_SOUND in config_site.h. Well, there is no
> guarantee that this will solve the problem though.
>
> Regards,
> nanang
>
>
> On Fri, Oct 10, 2008 at 7:18 PM, John Mervin
<johnmervin83 at gmail.com>
> wrote:
> > Hi Experts,
> >
> > We try to make an call between an real device on wm6 an a laptop.
> > We can't heart any sounds with the mobile device and we have in
the logs:
> >
> > pjsua_set_snd_dev(): attempting to open devices @16000 Hz
> >  17:49:03.000  pjsua_media.c  ..failed: Unknown error 269998
> >  17:49:03.000  pjsua_media.c  pjsua_set_snd_dev(): attempting to open
> > devices @22050 Hz
> >  17:49:03.000  pjsua_media.c  ..failed: Unknown error 269998
> >  17:49:03.000  pjsua_media.c  pjsua_set_snd_dev(): attempting to open
> > devices @44100 Hz
> >  17:49:03.000  pjsua_media.c  ..failed: Unknown error 269998
> >  17:49:03.000  pjsua_media.c  pjsua_set_snd_dev(): attempting to open
> > devices @48000 Hz
> >  17:49:03.000  pjsua_media.c  ..failed: Unknown error 269998
> >  17:49:03.000  pjsua_media.c  pjsua_set_snd_dev(): attempting to open
> > devices @32000 Hz
> >  17:49:03.000  pjsua_media.c  ..failed: Unknown error 269998
> >  17:49:03.000  pjsua_media.c  pjsua_set_snd_dev(): attempting to open
> > devices @16000 Hz
> >  17:49:03.000  pjsua_media.c  ..failed: Unknown error 269998
> >  17:49:03.000  pjsua_media.c  pjsua_set_snd_dev(): attempting to open
> > devices @8000 Hz
> >  17:49:03.000  pjsua_media.c  ..failed: Unknown error 269998
> >  17:49:03.000  pjsua_media.c  Unable to open sound device: Unknown
error
> > 269998 [status=269998]
> >  17:49:06.000    pjsua_acc.c  Sending 2 bytes keep-alive packet for
acc 0
> to
> > 198.65.166.131:5060
> >
> > Before to ask to solve this problem, we saw in your mailing list that
> many
> > people have the same error.
> > Do you know if it's possible to resolve it ?
> >
> > Thank's in advance.
> > _______________________________________________
> > 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/20081011/5caa9c8b/attachment-0001.html>

------------------------------

Message: 4
Date: Sat, 11 Oct 2008 18:01:49 +0400
From: "Alexei Kuznetsov" <eofster@xxxxxxxxx>
Subject: Re: Check account registration status
To: "pjsip list" <pjsip at lists.pjsip.org>
Message-ID:
	<8d52b3b0810110701n2487fc6u3845c4d1efed3dc0 at mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

I've tried it and figured out that when account is unregistered,
expires == -1. Is it enough to check just this value or there must be
any additional checks? I'm writing simple isRegistered() function and
I'm a little stuck. :)

On Fri, Oct 10, 2008 at 7:52 PM, Nanang Izzuddin <nanang at pjsip.org>
wrote:
> Hi,
>
> Regarding [un]registration status, perhaps by additional checking if
> the registration expiration period == 0?
>
> Regards,
> nanang
>
> On Fri, Oct 10, 2008 at 6:33 AM, Alexei Kuznetsov
<eofster at gmail.com> wrote:
>> Hello,
>>
>> I'm using pjsua-lib. The documentation states that
>> value zero of the field "status" in pjsua_acc_info structure
means
>> that account is unregistered. However I'm getting 200 after
>> unregistration call using pjsua_acc_set_registration(). I guess that
>> this is a success code on unregistering attempt. But is there a way to
>> figure out reigstration status of the account without knowing previous
>> calls which can change this status?
>>
>> Best regards,
>>
>> Alexei



------------------------------

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


End of pjsip Digest, Vol 14, Issue 25
*************************************



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20081011/4997adad/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