Skip to content

connection.onIceCandidate() does not return any callback. #46

@Argus444

Description

@Argus444

Which platform(s) does your issue occur on?
Android

What type of device?
Physical device.

Version Numbers:
CLI: tns version 6.7.8
Cross-platform modules: 6.5.8
Runtime(s):
"tns-android": {
"version": "6.5.0"
}
"tns-ios": {
"version": "6.5.1"
}
Plugin(s):
{
"nativescript": {
"id": "org.nativescript.WebRTCTestApp",
"tns-android": {
"version": "6.5.0"
},
"tns-ios": {
"version": "6.5.1"
}
},
"description": "NativeScript Application",
"license": "SEE LICENSE IN ",
"repository": "",
"dependencies": {
"@nativescript/theme": "~2.3.0",
"nativescript-socketio": "^3.3.1",
"nativescript-webrtc-plugin": "^2.0.0-alpha.22",
"tns-core-modules": "~6.5.0"
},
"devDependencies": {
"nativescript-dev-webpack": "~1.5.0"
},
"gitHead": "20a65d338ae8f8911087ab6615b89363f864b07b",
"readme": "NativeScript Application"
}

The problem:
var connection = new new TNSRTCPeerConnection(iceConfig);
connection.onIceCandidate(callback=>{console.log(callback)}
nothing happens

when I:
console.log(connection.onIceCandidate);
It returns me the whole function. But no call backs returns, infact nothing happens inside the callback

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