opentok | OpenTokSDK for node.js | Runtime Evironment library
kandi X-RAY | opentok Summary
kandi X-RAY | opentok Summary
OpenTok is a free set of APIs from TokBox that enables websites to weave live group video communication into their online experience. With OpenTok you have the freedom and flexibility to create the most engaging web experience for your users. OpenTok is currently available as a JavaScript and ActionScript 3.0 library. Check out and for more information. This is the OpenTok NodeJS Module.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of opentok
opentok Key Features
opentok Examples and Code Snippets
Community Discussions
Trending Discussions on opentok
QUESTION
I am working on vonage opentok video call functionality. I want to get an event of native phone call received and ending while video call is ongoing. please let me know if you found anything regarding that it will really helpful for me.
Note: I have already tried Broadcast receiver with READ_PHONE_STATE permission but it does not working in api leve 30.
...ANSWER
Answered 2021-May-19 at 05:42There is a new sample in the OT samples. It should be all you need - https://github.com/opentok/opentok-android-sdk-samples/tree/main/Phone-Call-Detection
QUESTION
I want to take screen shot of subscriber frame in opentok Android. I am able to take screen shot of other xml components but not able to take screenshot of the opentok subscriber.
Can anyone help me for this?
Thanks in advance.
...ANSWER
Answered 2021-May-17 at 02:59If you only need to take a screenshot of the subscriber video, you could have a look at this sample repository, You just need to add ScreenshotVideoRenderer to your subscriber object and call ((ScreenshotVideoRenderer) subscriber.getRenderer()).saveScreenshot() to get the subscribers screenshot which is stored in phone storage. Let me know in case you need any further assistance required from my side.
Thanks
QUESTION
I wanted to add video while broadcasting. To do this i am refering this link :
https://github.com/opentok/opentok-web-samples/tree/main/Publish-Video
After OT.initPublisher
i am publishing this publisher in to session session.publish
But video is not showing in livestreaming.
Can anybody help me with this?
...ANSWER
Answered 2021-Apr-08 at 09:39We can Publish custom audio source and video source from Video Element, using the captureStream() / mozCaptureStream()
methods
Like mentioned in the below code snip
QUESTION
Hi I've been working on using Open Tok For a streaming session I used MPVolumeView to vary system Sound.
Issue: MPVolumeView does work changing system Volume but that doesn't affect my OTSession Volume
Expected: I want to change "outputVolume" of AVAudioSession running with OpenTok
Code:
...ANSWER
Answered 2020-Nov-04 at 10:39QUESTION
i am having big problems with my release version of my app. (https://play.google.com/store/apps/details?id=com.conta.ftof try to download it to help me if you can) In the debug version everything works, but in the relase version as soon as I authenticate firebase with a phone number or just authenticate and click on the recycler view button the app crashes ... I recently added the sha keys -1 and sha-256 to the firebase project and I added the new json file because the authentication was not working, now the authentication works great but as soon as you are authenticated, as I have already said, the app goes into crush. I don't know if the fault is google ads, which I added 1 week ago in contactsactivity ... The strange thing is that the debug version is fully functional ... I leave you the code...
LogCat of crush
...ANSWER
Answered 2020-Oct-16 at 19:32If you are a beginner then i recommend you disable minifyEnabled
in you build.gradle. basically the proguard
obfuscates the code and you might not be escaping your model files in the proguard
rules
QUESTION
In my application, I am using openTok for audio and video calling functionality. Attached is the image I am creating for video calling purposes to rotate camera view there is a camera rotate icon.
Before publishing stream, this icon to rotare camera comes as in position, but as soon as stream is published this gets vanished. It is happening because due to z-order. The code to publish stream as mentioned below:
...ANSWER
Answered 2020-Sep-03 at 08:22One option is to switch to use TextureView instead of GLSurfaceView, in general view composing is much easier when using TextureView instead of GLSurfaceView.
You can enable TextureView by doing this when building a Session
QUESTION
I am using opentok and do I need to stop a archive recording after some time and I succeed in almost all cases, but in some of then, do I have the error below:
"You cannot stop an archive for always archived sessions"
I am using the opentok SDK based on nodeJS, and my archive mode is settled to manual, but was "always" a couple of weeks ago. The archive begins as soon the stream begins and I do not get any errors, the archive on archive list appears with the "started" status, and other streams inside the list stop without errors.
Someone passed through this and can help me?
Thanks in davance
...ANSWER
Answered 2020-Aug-17 at 13:39OpenTok QA staff here,
Auto-archived sessions are, as its own name says, automatically started and stopped, based on connections and publishers, as you can see Automatically archived sessions. If you want to have a full control over the archive, use manual archiving.
QUESTION
I'm using the TokBox / OpenTok screen sharing API for web browser, and when publishing a screen I'm using "publishAudio: true", but the subscriber does not receive any audio. The subscriber does receive the screen video though.
Does anyone know how to solve this audio issue? I'm using Google Chrome on macOS Catalina.
...ANSWER
Answered 2020-May-14 at 15:31I need see more of you concrete case code but i hope this can help you.
You need to send the audioSource. Example:
QUESTION
Apologies in advance for the seemingly naive question, I'm a hobbyist developer learning the ropes. I noticed the opentok REST API documentation deal mainly with command line stuff, whereas the SDKs (web/node SDKs for example) come packaged with class instances, methods, etc. So is one a reference for the other? How/when does one use the REST API instead of the SDKs?
...ANSWER
Answered 2020-May-04 at 13:42Vonage Developer Advocate here.
Our server SDKs provide a language specific wrapper for our REST API. Both are focused on session & token generation and archiving. This logic is usually processed on the server side.
The client SDKs are different in that they provide capabilities for the front-end.
QUESTION
I am currently trying to rewrite a class-based component into a functional component. In the link, you can find one specific section:
...ANSWER
Answered 2020-May-03 at 08:01With functional components you can use a ref
to preserve the value of a variable between renders.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install opentok
OpenTokArchive objects have a downloadArchiveURL(video_id, handler) method that will return a URL string for downloading the video in the archive. Video files are FLV format. video_id [string] - REQUIRED. The Video ID returned from OpenTokArchiveVideoResource.getId() handler [fn(url)] - REQUIRED. This function is triggered after it receives the URL for video. The result is a URL string.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page