You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Indeed currently order is not preserved. This was already mentioned by @wusspuss in #1142 with a proposed fix in #1144, however it's not finished and would break things as it is.
When I call:
I expect my m-line to contain formats in the order
107 0
so that I express that I prefer to use opus rather than PCMU when both are available. Butlibdatachannel/src/description.cpp
Line 908 in fbd8f23
std::map
which orders by key, and the payloadType is the key, so it ends up putting0
first and PCMU wins.Using
0
because it is the standard payloadType for PCMU https://en.wikipedia.org/wiki/RTP_payload_formatsThe text was updated successfully, but these errors were encountered: