Skip to content

On Safari Error calling method on NPObject #190

Description

@zaigham-mt

Error: Error calling method on NPObject.
348
          function (sessionDescription) {
Its occurring on following scripts

function answer(data) {
var pc = peerDatabase[getPeerIndex(data)].pc;

    toggleLocalStream(pc,data.videoChatId);

    pc.createAnswer(
        function (sessionDescription) {



            pc.setLocalDescription(sessionDescription);


            send('answer', data, sessionDescription);



        },
        function (error) {
            console.log(error);
        },
        config.mediaConstraints
    );
}

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.

screen shot 2016-04-08 at 7 15 47 am

Any help will be appreciated.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions