I am using realme 3 android device and redmi pro 7. Video communication is working correctly but i am seeing simulcast is not working. This is code snippet
const encodings =
[
{ maxBitrate: 180000, scaleResolutionDownBy: 4 },
{ maxBitrate: 360000, scaleResolutionDownBy: 2 },
{ maxBitrate: 1500000, scaleResolutionDownBy: 1 }
];
this._camProducer = await this._sendTransport.produce(
{
track,
encodings,
codecOptions :
{
videoGoogleStartBitrate : 1000
}
});
then i am getting this callback run*.
this._sendTransport.on(
‘produce’, async ({ kind, rtpParameters, appData }, callback, errback) =>
{
try
{
const { id } = await this._protoo.request(
‘produce’,
{
transportId : this._sendTransport.id,
kind,
rtpParameters,
appData
});
callback({ id });
}
catch (error)
{
errback(error);
}
});
When console logging i am gettting this output
But the same code when running in chrome browser simulcast is working. Is simulcast works in android ??