TheWidlarzGroup / react-native-video

A <Video /> component for react-native
https://docs.thewidlarzgroup.com/react-native-video/
MIT License
7.2k stars 2.9k forks source link

[BUG] Live video issue #3486

Closed m4tt86 closed 3 weeks ago

m4tt86 commented 9 months ago

Bug

Hello, in this version (6.0.0-beta.4), when the player streams live content, it doesn't show the live video but instead something from a few minutes earlier. To view the live broadcast, I need to click on the "Go to Live" button.

Platform

Which player are you experiencing the problem on:

Environment info

Library version: 6.0.0-beta.4

Reproducible sample code

<Video
                        ref={videoRef}
                        key={item.url}
                        source={{
                            uri: item.url,
                            title: title,
                            customImageUri: item.backdrop
                        }}
                        style={{ width: orientationWidth, height: orientationHeight }}
                        controls={true}
                        pictureInPicture={true}
                        playWhenInactive={true}
                        playInBackground={true}
                        ignoreSilentSwitch={"ignore"}
                        onBuffer={onBuffer}
                        onError={onVideoError}
                        onLoad={onVideoLoad}
                        fullscreen={false}
                        fullscreenAutorotate={true}
                        fullscreenOrientation="landscape"
                        resizeMode="contain"
                        poster={item.backdrop}
                        posterResizeMode="cover"
                        bufferConfig={{
                            minBufferMs: 15000,
                            maxBufferMs: 50000,
                            bufferForPlaybackMs: 2500,
                            bufferForPlaybackAfterRebufferMs: 5000,
                        }}
                    />
Aliatore commented 9 months ago

Same problem here in 6.0.0-beta.3 on android devices.

m4tt86 commented 9 months ago

the problem still exists on 6.0.0-beta.5

JustJoostNL commented 8 months ago

Same here, it just plays from the very start of the live content, instead of playing live.

JustJoostNL commented 8 months ago

Are there any updates on this?

m4tt86 commented 8 months ago

@JustJoostNL the problem still exists and I haven't found any workaround

freeboub commented 5 months ago

I just see this issue, you can check in the sample, I think the redbull channel works fine, I suspect something about your playlist. Is it possible to share a sample url ?

github-actions[bot] commented 1 month 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.

github-actions[bot] commented 3 weeks ago

This issue was closed because it has been inactive for 14 days since being marked as stale.