[webrtc-pc] while restarting ICE, datachannel event is not emitting after video call stablished. (#2591)

msingh025 has just created a new issue for https://github.com/w3c/webrtc-pc:

== while restarting ICE, datachannel event is not emitting after video call stablished.  ==
use case: 
 Application is capable for video and text data and while ice connection getting fail, invoking ice restart, 
video call is stablished but text message is not delivering to remote use.  

Can you some provide suggestion on it ? 

i am restarting ICE with help of below code. 

 **this.dataChannel = pc.createDataChannel('chat', this.dataChannelOptions);
    pc.createOffer({ iceRestart: true }).then((offer) => {
        offery = offer;
        return pc.setLocalDescription(offer);
      })
      .then((data) => {
         console.log(data);
         ctx.appSignal.send({
          name: myid,
          type: 'offer',
          offer: offery,
          action: 'restart'
       });
      })
      .catch((e) => {
         console.error(e);
      }).finally(() => {
      });**

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2591 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 28 October 2020 10:37:40 UTC