opentok

recording a remote webrtc stream with RecordRTC

一曲冷凌霜 提交于 2019-12-21 04:33:07
问题 I am using Opentok JavaScript WebRTC library to host a 1-to-1 video chat (peer-to-peer). I can see my peer's video and hear the audio flawlessly. My wish is to record audio / video of other chat party (remote). For this purpose, I'm using RecordRTC. I was able to record the video of other chat participant (video is outputted to HTML video element), but, so far, I have not succeeded in recording audio (a dead-silence .wav file is as far as I could get). Using Chrome Canary (30.0.1554.0). This

Integrate opentok video conferencing into parse.com + iOS app

别来无恙 提交于 2019-12-20 16:21:27
问题 This question is not only aimed at code but my app design as well. I have an iphone app that requires opentok to handle the video/audio sessions. I have gone through basic samples but what I am confused about is session management. For example, if my iphone app wants to call a user from a mapview, how do I do that if all I have is this user's location (coordinates)? How do I ensure that the session I am publishing gets to that particular user somehow and that user subscribes to it? Currently

OpenTok constructor/create_session fails when not running venv

安稳与你 提交于 2019-12-18 09:47:09
问题 Running a Django rest api with Tokbox in a Debian Server. I was running it through a python virtual enviroment which was working fine, but need to take it out of the enviroment for a few reasons. When I did so, after installin all dependencies and got it running got the following error: raise RequestError('Failed to create session: %s' % str(e)) opentok.exceptions.RequestError: Failed to create session: Failed to create session, invalid credentials Both keys are saved as enviroment variables

OpenTok Android SDK 2.0, setPublishVideo(false) does not free the Camera. Any workarounds known?

ぐ巨炮叔叔 提交于 2019-12-14 02:06:01
问题 I'm trying to take a picture while there's an ongoing OpenTok video conference in an Android application. I use OpenTok SDK 2.0 for Android. I tried to use publisher.setPublishVideo(false) to temporarily free the Camera so that the default Camera Activity can be used to take a picture. But looks like OpenTok does not free the Camera hardware. As a workaround I tried using session.unpublish(publisher), which frees the Camera (and it also cuts the audio stream which is not desirable for me) but

OpenTok suggestion how to start to build an app

天大地大妈咪最大 提交于 2019-12-13 18:32:09
问题 I'm trying to achieve an app opentok based. The project who i have in mind is an app which some subscribers, every subscriber can talk with an operator from their app phone and the operator have to stay on computer. Simply the app have to call an operator and record the call in server. I think which i have to create two apps: one which make the call from the phone and connect it to the session and another with the session already opened on the computer which also record the call. Or not? Or

Opentok audioLevelUpdated published event not working as expected on Safari

五迷三道 提交于 2019-12-13 05:50:10
问题 I'm experiencing an issue when trying to capture the audio levels from the Opentok publisher. My code works perfectly on Chrome (Version 70.0.3538.110) but are not working as expected on Safari (Version 12.0.1). I'm using @opentok/client Version 2.15.4 and opentok node server Version 2.8.0. Here is my code: this.publisher.on('audioLevelUpdated', (event) => { console.log("event.audioLevel: " + event.audioLevel); // etc... In Chrome, I get the following as expected: In Safari, the value of

Publishing fails after unpublishing

安稳与你 提交于 2019-12-12 18:19:11
问题 In my application I do the following steps: Publish audio only Unpublish Publish audio+video Unpublish Publish audio only At stage 5 it fails with the following error: index.js:460 OT.Publisher.onPublishingTimeoutonPublishingTimeout @ index.js:460(anonymous function) @ index.js:1472 index.js:332 OT.Publisher State Change Failed: 'Failed' cannot transition to 'MediaBound'stateChangeFailed @ index.js:332signalChangeFailed @ generate_simple_state_machine.js:38handleInvalidStateChanges @ generate

Opentok Screen Sharing with Audio

江枫思渺然 提交于 2019-12-12 15:19:16
问题 I try to create a Screen Sharing application with the opentok JS client that shares the publishers audio as well. Screen Sharing works fine. But the audio is never shared. Now, I noticed a warning in the console (Firefox) saying Invalid audioSource passed to Publisher - when using screen sharing no audioSource may be used . Does that mean it is not possible at all, or that the audio source is invalid? 回答1: With v2.13.0 it is now possible to pass a MediaStreamTrack as a custom audioSource and

Opentok SDK not Spring-boot compliant due new Jackson 2.9 release

…衆ロ難τιáo~ 提交于 2019-12-12 04:35:20
问题 My Spring-boot application started failing once Jackson 2.9 was released on 2nd of March. I am using Gradle for building and Spring boot version 1.5.2 which depends on Jackson-core 2.8.7. In addition I need Opentok SDK which I have added as dependency: compile group: 'com.tokbox', name: 'opentok-server-sdk', version: '2.3.2' I suppose the reason is the Opentok SDK dependency definition which allows downloading newer JAR for Jackson which then creates a mismatch of libraries as several

How to add programatically add new div using Enyojs and attach to the subscriber of opentok

不想你离开。 提交于 2019-12-12 03:26:27
问题 This is an extention to stackflow qustion. I want to create div programmatically and attach the opentok subscriber cam to it and all the subscriber cam need to come under parent div "#subscription". Please let me know what I'm doing wrong in my code. Jsfiddle http://jsfiddle.net/6z9n65ty/55/ Updated Jsfiddle http://jsfiddle.net/6z9n65ty/59/ Code for subscription div enyo.kind({ name : "blanc.SubscriberWrapper", showing: true, stream: null, session: null, create: function(){ this.inherited