Skip to content

new WebRTC({ enableVideo:true, enableAudio:true }); results in a JAVA ERROR. #42

@dmitryr117

Description

@dmitryr117

Problem issuing new WebRTC({ enableVideo:true, enableAudio:true });
I am usin Angular to develop NativeScript app.
Upon issuing the command above I get the following error:

ERROR Error: java.lang.Exception: Failed resolving constructor for class 'co.fitcom.fancywebrtc.FancyWebRTC' with 3 parameters. Check the number and type of arguments.

Primitive types need to be manually wrapped in their respective Object wrappers.

If you are creating an instance of an inner class, make sure to always provide reference to the outer 'this' as the first argument.

Any thoughts on how to fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions