SimulcastConsumer::UseAvailableBitrate what does that mean?

17 views
Skip to first unread message

liwf616

unread,
Jul 14, 2019, 6:38:00 AM7/14/19
to mediasoup
hi, 

in this function , i don't understand what does that mean,SimulcastConsumer::UseAvailableBitrate

// Check bitrate of every temporal layer.
for (; temporalLayer < producerRtpStream->GetTemporalLayers(); ++temporalLayer)
{
       auto requiredBitrate = producerRtpStream->GetBitrate(now, 0, temporalLayer);
}



Should it look like this?

// Check bitrate of every temporal layer.
for (; temporalLayer < producerRtpStream->GetTemporalLayers(); ++temporalLayer)
{
       auto requiredBitrate = producerRtpStream->GetBitrate(now, spatialLayer,  temporalLayer);
}

Iñaki Baz Castillo

unread,
Jul 14, 2019, 6:45:22 AM7/14/19
to medi...@googlegroups.com
No. It's ok as it is. This is simulcast so there are N streams with 1 spatial layer and M temporary layers each one.

PS: please use the mediasoup Discourse group.

--
mediasoup
Cutting Edge WebRTC Video Conferencing
 
https://mediasoup.org
 
NOTE: This group is deprecated. Use the mediasoup Discourse Group instead:
 
https://mediasoup.discourse.group
---
You received this message because you are subscribed to the Google Groups "mediasoup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mediasoup+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mediasoup/24a074d4-5858-4cf8-b36f-07ce9fe6f6ed%40googlegroups.com.

liwf616

unread,
Jul 14, 2019, 8:05:28 AM7/14/19
to mediasoup
OK,  Thank you for your patience.

在 2019年7月14日星期日 UTC+8下午6:45:22,Iñaki Baz Castillo写道:
No. It's ok as it is. This is simulcast so there are N streams with 1 spatial layer and M temporary layers each one.

PS: please use the mediasoup Discourse group.

El dom., 14 jul. 2019 12:38, liwf616 <liw...@gmail.com> escribió:
hi, 

in this function , i don't understand what does that mean,SimulcastConsumer::UseAvailableBitrate

// Check bitrate of every temporal layer.
for (; temporalLayer < producerRtpStream->GetTemporalLayers(); ++temporalLayer)
{
       auto requiredBitrate = producerRtpStream->GetBitrate(now, 0, temporalLayer);
}



Should it look like this?

// Check bitrate of every temporal layer.
for (; temporalLayer < producerRtpStream->GetTemporalLayers(); ++temporalLayer)
{
       auto requiredBitrate = producerRtpStream->GetBitrate(now, spatialLayer,  temporalLayer);
}

--
mediasoup
Cutting Edge WebRTC Video Conferencing
 
https://mediasoup.org
 
NOTE: This group is deprecated. Use the mediasoup Discourse Group instead:
 
https://mediasoup.discourse.group
---
You received this message because you are subscribed to the Google Groups "mediasoup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to medi...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages