Open jaswant-iotric opened 2 years ago
When creating data channel, it goes to closing and then closed state. Connecting, connected state is never logged.
setupDataChannel(localPeerConnection); MediaConstraints sdpConstraints = new MediaConstraints(); sdpConstraints.mandatory.add(new MediaConstraints.KeyValuePair("offerToReceiveAudio", "true")); sdpConstraints.mandatory.add(new MediaConstraints.KeyValuePair("offerToReceiveVideo", "true")); session.createLocalOffer(sdpConstraints);
When creating data channel, it goes to closing and then closed state. Connecting, connected state is never logged.
setupDataChannel(localPeerConnection); MediaConstraints sdpConstraints = new MediaConstraints(); sdpConstraints.mandatory.add(new MediaConstraints.KeyValuePair("offerToReceiveAudio", "true")); sdpConstraints.mandatory.add(new MediaConstraints.KeyValuePair("offerToReceiveVideo", "true")); session.createLocalOffer(sdpConstraints);