opentok - Enable Audio only in tokbox api -


i using tokbox api integration conference calls between 2 people.however ,sometimes based on user choice in web application,i want have audio enabled in tokbox session. there way so. using api calls generate session id , javascript workaround generate token,unable use sdk gae doesnt support it.

inputs appreciated.

you can use javascript disable publishing video, results in audio only. code publisher.publishvideo(false). see docs publisher more information: https://tokbox.com/developer/sdks/js/reference/publisher.html#publishvideo

which language server sdk not working on gae generate tokens? it's bad idea generate tokens in js on client because api secret sent in clear visits page.


Comments