-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On Safari Error calling method on NPObject #190
Comments
Hi, that all looks pretty good. Finally, can you check that you are using the latest version of the plugin ? It should be 0.8.869. Thanks, |
Here is the config file. config = {
How would it work without constraints as there are few mandatory fields required. I am using latest version of TemSys , its not showing version number. |
I find it weird that you have 2 OfferToReceiveAudio fields in mandatory. |
I have used following now. Still same scenario.
|
@johache I have even tried to create following answer. function answer(data) {
I go through adapter.debug.js file and its not using third parameter that is media constraints. So does not matter whatever the media constraints are. window.RTCPeerConnection.prototype.createAnswer = function() {
|
It does, this is exactly what the first part of the function is doing. Do you have a live version of you app to test against ? |
Ok Finally it worked using correct constraints parameters on offer packet.Its working fine for Safari now. But when I am trying it for firefox , on IOS device I am getting video stream and also audio. But on browser there was no video on browser. I get adapter.js from somewhere else and combined and it worked. Change was attachmediastream and reattachmediastream functions. One last thing is when I do have video call for 3-4 times on same page session IE crash due to plugin. |
Error: Error calling method on NPObject.
348
function (sessionDescription) {
Its occurring on following scripts
function answer(data) {
var pc = peerDatabase[getPeerIndex(data)].pc;
Its working fine for firefox. But due to plugin load not working for Safari and IE.
GetMediaStream and attachMediaStream seems to be working fine. But issue is when generating answer.
Here is attachment.
Any help will be appreciated.
The text was updated successfully, but these errors were encountered: