Plivo WebSDK Webphone Demo - problem with login

645 views
Skip to first unread message

Amir Ki

unread,
May 7, 2013, 10:00:12 PM5/7/13
to plivo...@googlegroups.com
I've tried this example https://github.com/plivo/plivo-web-sdk-example/tree/master/phone
but when i press login it says : PlivoWebSDK | 18:55:35.179 | failed to create UA
  1. Uncaught TypeError: Cannot call method 'on' of undefined
Anyone knows what's the problem? Thx in advance, Amir

Iwan Budi Kusnanto

unread,
May 7, 2013, 10:44:48 PM5/7/13
to plivo...@googlegroups.com
Hi Amir,
What browser you use?
Just tested it with chrome 26, chrome 27 and firefox 20 & 21. It works for me.
> --
> You received this message because you are subscribed to the Google Groups
> "Plivo Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to plivo-users...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>



--
Iwan Budi Kusnanto

Amir Ki

unread,
May 8, 2013, 12:30:47 AM5/8/13
to plivo...@googlegroups.com
I checked with chrome 26 , then i upgraded to chrome 27 and it's the same result.
Maybe i'm missing something important , beside run it on a server , do i need anything else?

Iwan Budi Kusnanto

unread,
May 8, 2013, 6:12:05 AM5/8/13
to plivo...@googlegroups.com
Hi Amir,
Can you do these:
- enable debug variable in Plivo.init() config parameters, you can see
config parameters that available in https://plivo.com/docs/sdk/web/
- provide complete log from JS console, not only the error part.
- try plivo demo page in http://s3.amazonaws.com/plivowebrtc/phone.html

Thanks

Amir Ki

unread,
May 8, 2013, 4:30:10 PM5/8/13
to plivo...@googlegroups.com

PlivoWebSDK | 22:2:55.824 | use webrtc plivo.min.js:8
PlivoWebSDK | 22:2:55.834 | asking for media permission plivo.min.js:8
onReady... phone.html:96
PlivoWebSDK | 22:2:55.845 | Use browser as tone backend plivo.min.js:8
get media permission phone.html:217
PlivoWebSDK | 22:3:3.273 | failed to create UA plivo.min.js:8
  1. Uncaught TypeError: Cannot call method 'on' of undefined plivo.min.js:8
    This is the full log when i try "plivo demo page",no matter if I write the right or wrong username +password

Amir Ki

unread,
May 8, 2013, 4:47:49 PM5/8/13
to plivo...@googlegroups.com
Sry for being impolite Iwan ,thanks for the help 

Iwan Budi Kusnanto

unread,
May 8, 2013, 10:01:09 PM5/8/13
to plivo...@googlegroups.com
On Thu, May 9, 2013 at 3:47 AM, Amir Ki <ami...@gmail.com> wrote:

>> Uncaught TypeError: Cannot call method 'on' of undefined plivo.min.js:8
>> This is the full log when i try "plivo demo page",no matter if I write the
>> right or wrong username +password
>
> Sry for being impolite Iwan ,thanks for the help

No problem.

Can you try this page http://kam.labhijau.net/phone.html and provide
full console log.

Iwan Budi Kusnanto

unread,
May 8, 2013, 10:02:47 PM5/8/13
to plivo...@googlegroups.com
On Thu, May 9, 2013 at 9:01 AM, Iwan Budi Kusnanto <i...@labhijau.net> wrote:
> On Thu, May 9, 2013 at 3:47 AM, Amir Ki <ami...@gmail.com> wrote:
>
>>> Uncaught TypeError: Cannot call method 'on' of undefined plivo.min.js:8
>>> This is the full log when i try "plivo demo page",no matter if I write the
>>> right or wrong username +password
>>
>> Sry for being impolite Iwan ,thanks for the help
>
> No problem.
>
> Can you try this page http://kam.labhijau.net/phone.html and provide
> full console log.

Also, what is your OS, 64 bit or 32 bit?

>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Plivo Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to plivo-users...@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>
>
>
> --
> Iwan Budi Kusnanto



--
Iwan Budi Kusnanto

Amir Ki

unread,
May 9, 2013, 2:04:41 AM5/9/13
to plivo...@googlegroups.com
Hi Iwan,
PlivoWebSDK:Plivo SDK initialization plivo.min.js:8
PlivoWebSDK:- User Agent : Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.81 Safari/537.36 plivo.min.js:8
PlivoWebSDK:- Browser : Chrome 27 plivo.min.js:8
PlivoWebSDK:- OS : Windows plivo.min.js:8
PlivoWebSDK | 8:59:52.257 | use webrtc plivo.min.js:8
PlivoWebSDK | 8:59:52.258 | asking for media permission plivo.min.js:8
onReady... phone.html:104
get media permission phone.html:240
PlivoWebSDK | 9:0:16.947 | failed to create UA plivo.min.js:8
  1. Uncaught TypeError: Cannot call method 'on' of undefined System: intel core i3 2 GB RAM 64 bit windows 7 Also the computer is kind of slow if it matters. plivo.min.js:8

Iwan Budi Kusnanto

unread,
May 13, 2013, 9:19:20 AM5/13/13
to plivo...@googlegroups.com
Hi Amir,
I have tested plivo webphone demo on windows 7 32 bit and 64 bit.
Unfortunately, i can't reproduce your problem.
Have you tried in another computer?


--
Iwan Budi Kusnanto

Gaston Pisacco

unread,
Aug 29, 2013, 8:52:12 PM8/29/13
to plivo...@googlegroups.com
I'm having the exact same error , under Mac OS Mountain Lion - Chrome 29. Any idea?
Thanks
Gaston

PlivoWebSDK:Plivo SDK initialization plivo.min.js:8
PlivoWebSDK:- User Agent : Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.62 Safari/537.36 plivo.min.js:8
PlivoWebSDK:- Browser : Chrome 29 plivo.min.js:8
PlivoWebSDK:- OS : Mac plivo.min.js:8
onReady... phone.html:96
get media permission phone.html:217
PlivoWebSDK | 21:40:21.751 | failed to create UA plivo.min.js:8
  1. Uncaught TypeError: Cannot call method 'on' of undefined plivo.min.js:8
    1. onclick

Iwan Budi Kusnanto

unread,
Sep 10, 2013, 2:41:56 PM9/10/13
to plivo...@googlegroups.com
On Fri, Aug 30, 2013 at 6:22 AM, Gaston Pisacco <gpis...@gmail.com> wrote:
I'm having the exact same error , under Mac OS Mountain Lion - Chrome 29. Any idea?


Hi,
Sorry for late reply, didn't noticed your email.
Have you tried plivo.com webrtc demo?
 

--
You received this message because you are subscribed to the Google Groups "Plivo Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to plivo-users...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
Iwan Budi Kusnanto
Reply all
Reply to author
Forward
0 new messages