AccessDenied not throwing

Report any bugs here, no matter how trivial

AccessDenied not throwing

Postby delfio2d2 » Sun Feb 17, 2013 11:42 am

Which component is this for (JS API/AS3 API/iOS SDK/Server-side SDK)? OpenTok on WebRTC. Javascript library

What steps will reproduce this problem?
1. I issue: session.publish(publisher);
2. The allow dialog appears. Click on deny.
3. The Dom element is removed so I recreate it in AccessDeniedHandler
4. Everything's fine. I reissue: session.publish(publisher)
5. Click again on deny.
6. AccessDeniedHandler does not run ever again.

What OS and version are you seein this problem with? Windows 7

Which browser and version are you seeing this problem with? Chrome 24
Was this post helpful? (0)
delfio2d2
 
Posts: 3
Joined: Sun Feb 17, 2013 11:17 am
Thumbs Up: 0

Re: AccessDenied not throwing

Postby jtsai » Tue Feb 19, 2013 4:02 pm

Hi

In #3, what do you mean the DOM element is removed? The flash dialog should ask for permission again whenever they click "deny", not disappear.

John
Was this post helpful? (0)
Very helpful resource: Devs Checklist
Examples with OpenTok: Examples
User avatar
jtsai
 
Posts: 1995
Joined: Wed Sep 14, 2011 3:00 pm
Thumbs Up: 157

Re: AccessDenied not throwing

Postby delfio2d2 » Wed Feb 20, 2013 1:33 am

Hi John.

I refer to the div which is replaced by the video stream.

Thank you
Was this post helpful? (0)
delfio2d2
 
Posts: 3
Joined: Sun Feb 17, 2013 11:17 am
Thumbs Up: 0

Re: AccessDenied not throwing

Postby jtsai » Wed Feb 20, 2013 10:56 am

You should not be calling session.publish again. In your accessDenied handler, don't try to recreate the div and publish again.

John
Was this post helpful? (0)
Very helpful resource: Devs Checklist
Examples with OpenTok: Examples
User avatar
jtsai
 
Posts: 1995
Joined: Wed Sep 14, 2011 3:00 pm
Thumbs Up: 157


Return to Bugs



Who is online

Users browsing this forum: No registered users and 1 guest

cron