Skip to content

Ex_webrtc throwing error on answer SDP #216

Closed Answered by mickel8
ponkii-1 asked this question in Q&A
Discussion options

You must be logged in to vote

but is it more accurate to say that only the offerer may create tracks, and the answerer can only accept or reject them?

Yes, exactly.

So if an offerer offers that it can both send and receive a single audio track, all the answerer can do is to accept or reject this track. Keep in mind that if offerer offers sendrecv direction, the answerer can reply with sendrecv, sendonly, recvonly or inactive.

If you want to have more tracks you have at least three options (random order):

  • send an offer with all tracks, e.g. two outgoing tracks, 4 incoming tracks
  • create a separate peer connection for sending and receiving
  • perform renegotiation

If you describe your use case in more detail, maybe we c…

Replies: 8 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@mickel8
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ponkii-1
Comment options

You must be logged in to vote
1 reply
@ponkii-1
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants