New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.
Starred by 4 users

Issue metadata

Status: Assigned
User never visited
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Sign in to add a comment

setremotedescription twice triggers addsteam twice too, but the second addsteam doesn't work

Reported by, Dec 15 2014 Back to list

Issue description

What steps will reproduce the problem? android APP for video chat
2.A,B exchange offer and answer to prepare peerConnection,and addStream is triggered once
3.B presses button to accept the call,and A,B exchange offer and answer once again, setRemoteDescription triggers addStream the second time  

What is the expected result?
A and B can see video of each other

What do you see instead?
A can see B,but B cannot see A.

What version of the product are you using? On what operating system?
WebRtc VideoEngine Version:VideoEngine 3.47.0;  Android 4.0

Please provide any additional information below.

error occurs at the second time the addStream is triggered: 
Error Domain=RTCSDPError Code=-1 "The operation couldn’t be completed. (RTCSDPError error -1.)" UserInfo=0x17538400 {error=Failed to set remote offer sdp: Called in wrong state: STATE_SENTPRACCEPT}

Project Member

Comment 1 by, Dec 15 2014

Labels: Area-Network
Project Member

Comment 2 by, Dec 15 2014

Can you please provide the exact SDP offer and answer for both rounds?
Project Member

Comment 3 by, Dec 29 2014

Labels: Ent
Project Member

Comment 4 by, Dec 29 2014

Labels: -Ent EngTriaged
Status: Assigned
Project Member

Comment 5 by, Nov 8 2016

Labels: Pri-3

Sign in to add a comment