Hey all,
Why my offer description looks very slim ?
I trying to create an offer in android emulator
I purchased a turn server from expressturn and test it with https://icetest.info/
there i see 3 endpoints and in my android emulator i see only 1
my code
const startCall = async () => {
const turnConfig = {
iceServers: [
{
urls: [‘turn:relay1.expressturn.com:3478’],
username: ‘xxxxxxxxx’,
credential: ‘xxxxxxxxx’,
credentialType: ‘password’
}
],
};
let peerConnection = new RTCPeerConnection(turnConfig);
let offerDescription = await peerConnection.createOffer({ mandatory: { OfferToReceiveVideo: true, OfferToReceiveAudio: true, }, });
await peerConnection.setLocalDescription(offerDescription);
alert(JSON.stringify(offerDescription));
console.log(offerDescription);
};
In addition this happen in a real device