Closed peetonn closed 3 years ago
Problem is that, in libmediasoupclient, we are parsing profile-id
as a string rather than as a number. We clearly specify that it must be a number and that's what mediasoup expects to match it.
@jmillan, when we generate RtpParameters
and RtpCapabilities
in libmediasoupclient, are we "fixing" some of the native obtained fields to convert them from string to number, etc?
@peetonn can you try this branch, please?
A C++ client can not produce nor consume VP9 streams due to mediasoup library rejecting RTP capabilities/parameters in
transport.produce(...)
androuter.canConsume(...)
calls. The latter returnsfalse
while the former throws:The problem seems to be the
parameters.profile-id
being a string instead of a number. When dictionaries are printed out side-by-side for JS and C++ clients, this becomes evident:JS-based client
canConsume
rtpCapabilities:C++-based client
canConsume
rtpCapabilities`:Original issue raised here -- https://mediasoup.discourse.group/t/failed-to-produce-or-consume-vp9-in-c-native-client-unsupported-codec-vp9-payloadtype-98/2673/3