RTCMultiConnection icon indicating copy to clipboard operation
RTCMultiConnection copied to clipboard

failed to push down transport description: applying an answer transport description without applying any offer

Open Yamada4 opened this issue 8 years ago • 5 comments

Hey , we make an app , like demo: your skype app , but we an issue and we couldnt fix it ,

the host : can send screen , send voice , type message , open camera

receivers many : can see the host screen , tpye message , request open voice , request open camera ,

everything is working somehow but ,

when we start stream , if any receivers request to open camera , its okay its working

but when we start stream ,if the host want to open camera first before someone ask , it fails but if the host send camera after someone request camera it works , so it will only fails the host try to send camera first .. console log 👎 setlocaldescription error domexception: failed to set local answer sdp: failed to push down transport description: applying an answer transport description without applying any offer.

Yamada4 avatar Aug 09 '17 13:08 Yamada4

+1

ghost avatar Aug 11 '17 09:08 ghost

can you share your code? I had same error resolved it by adding following constraints

connection.sdpConstraints.mandatory = {
            OfferToReceiveAudio: false,
            OfferToReceiveVideo: false
};

vasani-arpit avatar Feb 13 '18 11:02 vasani-arpit

I'm with the same problem :(

layercomp avatar May 08 '18 01:05 layercomp

solved by : OfferToReceiveAudio: true, OfferToReceiveVideo: true

fukemy avatar Jun 16 '21 05:06 fukemy

this error due to sdp problem, sometimes chorme work good, but safari sdp need to set all is true, otherwise we got error setlocaldescription

fukemy avatar Jun 16 '21 05:06 fukemy