TheWidlarzGroup / react-native-video

A <Video /> component for react-native
http://thewidlarzgroup.github.io/react-native-video/
MIT License
7.15k stars 2.88k forks source link

[BUG][Android]: In HLS playlist videos , the video suddenly gets bigger #3620

Open bekircanbozkurt opened 6 months ago

bekircanbozkurt commented 6 months ago

Version

v6 (Beta)

What platforms are you having the problem on?

Android

Architecture

Old architecture

What happened?

When I try to play HLS playlist videos, the video suddenly becomes larger after a few seconds. And after this happens the video starts to stutter

Reproduction

repository link

Reproduction

Code Sample

const VideoPlayer = () => {
    const videoSrc = "https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8";
    return (
        <Video
        source={{ uri:videoSrc }}
        style={styles.backgroundVideo}
        />
    )
}

Screenrecord

https://github.com/react-native-video/react-native-video/assets/58627732/5435e394-a3cd-490f-adbc-fb39fe614726

The video grows around the 14th second.

freeboub commented 6 months ago

@bekircanbozkurt We have this uri in sample app, but we don't have this issue... can you provide style backgroundVideo please ? Do you reproduce it in the sample ?

bekircanbozkurt commented 6 months ago

@bekircanbozkurt We have this uri in sample app, but we don't have this issue... can you provide style backgroundVideo please ? Do you reproduce it in the sample ?

Of course @freeboub . I have the same problem in the sample app.

backgroundVideo: { flex:1, },

freeboub commented 4 months ago

@bekircanbozkurt Do you have it on a real device or only in emulator ? It is possibly an emulator issue... Notice a ne patch ongoing can fix the issue (but not sure).

github-actions[bot] commented 2 weeks ago

This issue is stale because it has been open for 30 days with no activity. If there won't be any activity in the next 14 days, this issue will be closed automatically.

dev-folks commented 2 weeks ago

@bekircanbozkurt Hello! Have you found the cause and solution to this problem?