bambuser / bambuser-livevideoshoppingplayer-sdk-ios

This SDK helps you add a Bambuser live shopping player to your UIKit and SwiftUI apps.
8 stars 2 forks source link

[Issue] Low quality video when a livestream starts #12

Closed ezefranca closed 1 year ago

ezefranca commented 2 years ago

Hello everyone,

We have been getting some issues (even with demo app) about the video quality. Sometimes the video starts with a very low quality and took some time to get better. I tested this on devices and simulators with different quality of internet and looks like it's not a network issue but someway the video is rendered.

image

ken-bam commented 2 years ago

Per your description it sounds like quality switching is being a bit extra picky. About how long does it take before it steps up in quality?

Seen any difference in behaviour between iOS versions?

By rendering in this context. Do you mean the rendering of the videon frames on screen or that that rendering of other UI elements is affecting?

ezefranca commented 2 years ago

Hello @ken-bam . It's happen during ~10 to ~40 seconds. I don't have a list of which iOS version and device, but we tested in different devices (I will note and report that for future). Rendering in this context is the video. The other elements works fine (buttons, controls etc).

ken-bam commented 2 years ago

Hi,

Ok, our playlists has as first entry 360 x 640(if portrait) and on a good stable network it usually pretty fast jumps up to highest quality. In your case it seems that it for some reason decides to step down to 180 x 320(our lowest) before it works its way up to the highest.

It does not however get stuck on low quality for a long time?

ken-bam commented 1 year ago

We have increased the bitrate for the lowest rendition a bit in the hls ladder. So at occasions when the player for whatever reasons decides to drop down to the lowest rendition(apples hls players since iOS 15 are very sensitive to network delays) it does not look as bad anymore.