Hi guys,
I'm trying to setup data channel to send messages between Chrome instances with libjingle.
Could someone of you help me to debug it?
What I'm doing:
1) Create a PeerConnectionFactory.
2) Then I create a peer connection with: 1) ICE servers ["stun:
stun.l.google.com:19302"], mandatory constraints {kEnableRtpDataChannels: true}, no DTLS identity service.
3) Create a data channel.
4) Create offer/answer with constrains {kOfferToReceiveAudio: false, kOfferToReceiveVideo:false, kVoiceActivityDetection:false}
What I'm observing:
Data channel doesn't come to "writable" state. No error reported. It seems it's because Transport can't resolve remote candidates. Generated offer has one media stream (desc->number_of_mediasections() == 1) with no ICE candidates in this section (desc->candidates(0)->count() == 0).
May be I missconfigured the connection?
Sergey