[Bug]: Bitrate is not set correctly on initial render
Pitros opened this issue · 3 comments
Pitros commented
Version
v1.2.3
Which operating systems have you used?
- Android
- iOS
Environment that reproduces the issue
Samsung Galaxy S20 - Android 13 - wrong initial bitrate
Samsung Galaxy S9 - Android 10 - works fine
Is it reproducible in the example application?
Yes
RTMP Server
restream.io
Reproduction steps
- Start streaming with some bitrate (eg. 0.5Mb)
- On any page that shows bitrate (eg. restram.io) bitrate will not match
- Change bitrate in video params object via code while streaming is active or with any controls
- Bitrate will change to valid one (eg. 1Mb)
Expected result
Bitrate is accepted
Actual result
For params below streaming is started with 2.6Mbps
{
fps: 30,
resolution: '720p',
bitrate: 1 * 1024 * 1024, // # 2 Mbps
}
Additional context
Works fine on S9 with Android 10.
Relevant logs output
No response
ThibaultBee commented
Hi,
As it seems device dependent, it is going to be difficult to test.
I will try to recheck with my Pixel 4a.
ThibaultBee commented
Could you test to reproduce with https://github.com/ThibaultBee/StreamPack/suites/11275378563/artifacts/578139145?