getNumber method
Implementation
Future<void> getNumber() async {
Map<String, dynamic> configuration = {
"iceServers": [
{"urls": STUN_togee},
]
};
final Map<String, dynamic> offerSdpConstraints = {
"mandatory": {
"OfferToReceiveAudio": true,
"OfferToReceiveVideo": true,
},
"optional": [],
"type": "camera"
};
_peerConnection =
await createPeerConnection(configuration, offerSdpConstraints);
print("this is $_peerConnection");
}