Questions tagged [tokbox]

TokBox provides a free API that allows anyone to add group video chat features to their own websites

TokBox provides a free API that allows anyone to add group video chat features to their own websites. Experienced programmers use the OpenTok API to build custom interactive video chat applications. More casual users can download OpenTok plug-n-play apps that provide the same group video chat capability when users drop them into their personal blogs or websites.

TokBox Website

476 questions
0
votes
1 answer

Access subscriber variable

var subscriber; subscriber = void 0; getApiAndToken = function() { initializeSession(); }; initializeSession = function() { session = OT.initSession(apiKey, sessionId); session.on('streamCreated', function(event) { …
0
votes
1 answer

Opentok 2.6 iOS framework issue, blank screen issue while changing application state

I am facing random issue with tokbox framework in my iOS app, when I put my application in background and come to foreground multiple times during my video session, sometimes video gets stuck and I see blank screen, while audio always remains…
Ekta
  • 21
  • 3
0
votes
1 answer

publisher initiates twice, one proper one only to self

for some reason my publisher initiates twice when I create a new a new session. However the 2nd one, isn't in the div where it's supposed to be. Also if you connect to the session you'll get the same so it only show for yourself. I'm trying to find…
0
votes
3 answers

toggle mute and unmute with javascript

I'm trying to create a button for muting and un-mute. Initially I have by button set up like this: and what I want is that when you click it, the class becomes:
0
votes
1 answer

Tokbox session methods inaccessible

I am getting a javascript object which contains method list but I am not able to access method. I am integrating tokbox api and i want to call unpublish function when user wants to disconnect the stream. Please find attached image of my object and…
Anil Singh
  • 100
  • 1
  • 9
0
votes
2 answers

OpenTok Ruby On Rails

I am really hoping someone can help me. I am attempting to integrate OpenTok on my Ruby On Rails application on my already built app. I have used the following article to attempt the integration and to adapt it to my specific site. I've followed the…
0
votes
0 answers

Passing parameters in Cloud Code function (Parse & TokBox)

I'm trying to integrate videocalls into my website using Parse and TokBox (OpenTok). I have found this great tutorial with complete code in github, it creates sessions without problems, but fails to fetch the session ID and pass it to the…
0
votes
1 answer

TokBox video position

I'm making an iOS app using xcode 6 and swift. I'm using TokBox for live videochat. So far it is working fine. My only issue is the position of the camera view. I have tried to put the view inside a view container, but that doesn't seem to solve my…
Loc Dai Le
  • 1,661
  • 4
  • 35
  • 70
0
votes
3 answers

Opentok-iOS : Timed out while attempting to subscribe to the stream. Error Domain=OTSubscriberErrorDomain Code=1542

I am trying to create a video session between two iOS devices(both iOS version 7.0.4) using the opentok webrtc. Both the devices share the same api key and session id and different tokens as publishers. I am able to establish a session successfully…
Varsha
  • 29
  • 6
0
votes
1 answer

unable to load javascript in webview until refreshed

i have an html file called room.html.erb which has some js code.when i click on a link it has to load the above page.but the page is loading correctly except js code.when i refresh it working fine. code in room.html.erb
vjnan369
  • 833
  • 16
  • 42
0
votes
1 answer

uninitialized constant GroupsController::Opentok

I am trying to build an app using opentok.I am following a tutorial.in tutorial he used a method and called through before_filer. private def config_opentok if @opentok.nil? @opentok = OpenTok::OpenTokSDK.new YOUR_API_KEY, YOUR_SECRET_TOKEN end end…
vjnan369
  • 833
  • 16
  • 42
0
votes
1 answer

Add whiteboard feature to TokBox Webrtc session

I have a working webrtc session working with a JSP (built with tokbox JS).Now i want to add the Shared Whiteboard feature to this session.I checked tokbox docs, there is nothing mentioned w.r.t whiteboard. there is a project at…
zee
  • 502
  • 8
  • 28
0
votes
1 answer

Enable Audio only in tokbox api

i am using tokbox api integration for conference calls between two people.however ,sometimes based on user choice in my web application,i want to have only audio enabled in the tokbox session. Is there a way to do so. i am using api calls to…
zee
  • 502
  • 8
  • 28
0
votes
1 answer

Capture User Feedback in TokBox WebRTC session

I am able to have two users connect to a TokBox Session by providing a customised URL to a session.This URL actually ,internally, checks some params in our own server, and then renders control to JSP, which simply initiates a TOKBOX…
zee
  • 502
  • 8
  • 28
0
votes
1 answer

How to use WebRTC in GAE/J Project

I want to start Video Session on a specific date and time between two users of my application.The Application is written in Java on Google App Engine. I know about the Twilio SMS/Voice Services ,but GAE docs don't mention about how to have Video…
zee
  • 502
  • 8
  • 28