elixir-webrtc / ex_webrtc

An Elixir implementation of the W3C WebRTC API
Apache License 2.0
270 stars 8 forks source link

Fix bug with choosing transceiver for remote m-line #65

Closed LVala closed 5 months ago

LVala commented 5 months ago

New m-line in a remote offer always resulted in our PeerConnection creating new transceiver, when it should firstly look for a transceiver that is "associable" (see RFC 8829, sec. 5.10).

This PR fixes the issue.