opentok

How do I resolve a WebRTC PeerConnection.getStats error?

最后都变了- 提交于 2019-12-08 08:24:37
问题 So, we have a WebRTC enabled app that is actually working in the sense that it's establishing sessions, we're able to connect to them, people are publishing streams, other people are subscribing and unsubscribing to those streams, etc. etc. But we keep getting errors from WebRTC which say 'PeerConnection.getStats. Already getting the stats!' The error occurs in the video stream itself. White text on a black background, instead of the video. Also, in the console log, we're getting the

How do I resolve a WebRTC PeerConnection.getStats error?

怎甘沉沦 提交于 2019-12-06 14:48:54
So, we have a WebRTC enabled app that is actually working in the sense that it's establishing sessions, we're able to connect to them, people are publishing streams, other people are subscribing and unsubscribing to those streams, etc. etc. But we keep getting errors from WebRTC which say 'PeerConnection.getStats. Already getting the stats!' The error occurs in the video stream itself. White text on a black background, instead of the video. Also, in the console log, we're getting the following errors: Uncaught TypeError: Cannot call method 'getStats' of undefined TB.min.js:208 PeerConnection

Category Conflict: instance method in category from conflicts with same method from another category

帅比萌擦擦* 提交于 2019-12-04 16:21:15
问题 There are two situations, that I am aware of, that cause the following errors: ld: warning: instance method 'resetAudioSystem' in category from /opentok-ios-sdk/Opentok.framework/Opentok(OTPublisher+AudioSnoop.o) conflicts with same method from another category ld: warning: instance method 'attachAudioSnoopBlock:' in category from /opentok-ios-sdk/Opentok.framework/Opentok(OTPublisher+AudioSnoop.o) conflicts with same method from another category ld: warning: instance method

OpenTok accessDenied issue in Chrome

给你一囗甜甜゛ 提交于 2019-12-03 16:19:21
I'm having some trouble with the OpenTok 2 API . When I start to publish a stream and I'm prompted to allow or deny the website to use my webcam and microphone, if I allow allowed() should run, but if I deny denied() should run. publisher.addEventListener('accessAllowed', allowed); publisher.addEventListener('accessDenied', denied); function allowed() { console.log('Allowed'); } function denied() { console.log('Denied'); } It works as expected in Firefox. In Chrome accessAllowed works, however, accessDenied doesn't. Instead I get the following error: OT.Publisher.onStreamAvailableError

recording a remote webrtc stream with RecordRTC

被刻印的时光 ゝ 提交于 2019-12-03 13:13:18
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 is my method: var clientVideo = $('#peerdiv video')[0];//peer's video (html element) var serverVideo =

Category Conflict: instance method in category from conflicts with same method from another category

孤者浪人 提交于 2019-12-03 10:24:12
There are two situations, that I am aware of, that cause the following errors: ld: warning: instance method 'resetAudioSystem' in category from /opentok-ios-sdk/Opentok.framework/Opentok(OTPublisher+AudioSnoop.o) conflicts with same method from another category ld: warning: instance method 'attachAudioSnoopBlock:' in category from /opentok-ios-sdk/Opentok.framework/Opentok(OTPublisher+AudioSnoop.o) conflicts with same method from another category ld: warning: instance method 'setVideoSnoopDelegate:' in category from /opentok-ios-sdk/Opentok.framework/Opentok(OTPublisher+VideoSnoop.o) conflicts

Integrate opentok video conferencing into parse.com + iOS app

房东的猫 提交于 2019-12-03 03:46:46
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 I don't have any backend in my app. All I may have is location data of N users, who can possibly talk

getting an issue while archiving opentok audio/video chat

℡╲_俬逩灬. 提交于 2019-12-02 09:08:13
问题 I am trying to configure audio/video chat and archive audio/video chat with OpenTok API. I have successfully configure audio/video chat with OpenTok but unable to perform archive. Getting following issue: Error:Execution failed for task ':app:packageAllDebugClassesForMultiDex'. java.util.zip.ZipException: duplicate entry: org/apache/commons/collections/ArrayStack.class This is my library: Following are my dependencies: dependencies { //compile project(':androidConferenceWebRTC') compile

getting an issue while archiving opentok audio/video chat

僤鯓⒐⒋嵵緔 提交于 2019-12-02 04:32:29
I am trying to configure audio/video chat and archive audio/video chat with OpenTok API. I have successfully configure audio/video chat with OpenTok but unable to perform archive. Getting following issue: Error:Execution failed for task ':app:packageAllDebugClassesForMultiDex'. java.util.zip.ZipException: duplicate entry: org/apache/commons/collections/ArrayStack.class This is my library: Following are my dependencies: dependencies { //compile project(':androidConferenceWebRTC') compile project(':countryPicker') compile project(':customEmoji') compile project(':sugar') compile fileTree(dir:

OpenTok constructor/create_session fails when not running venv

巧了我就是萌 提交于 2019-11-29 17:43:42
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 and brought back correctly, I can log them and they are correct. Also if I turn on the python virtual