Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

isInPlayingState()获取播放状态不更新 #3908

Closed
kkouer opened this issue Dec 25, 2023 · 1 comment
Closed

isInPlayingState()获取播放状态不更新 #3908

kkouer opened this issue Dec 25, 2023 · 1 comment

Comments

@kkouer
Copy link

kkouer commented Dec 25, 2023

问题描述:

在使用设置VideoOptionModel 参数 rtsp_transport 值为 udp 时候 默认播放器StandardGSYVideoPlayer 获取 isInPlayingState()失效 ,即使视频流已经断开 isInPlayingState() 还是不变化,依旧为播放状态,从而无法设置断开视频后的重连动作.

出现问题的视频流 :

播放本地设备的RTSP视频流

问题机型/系统:

真机 云卓 H16Pro 遥控器 Android 7.1.2

GSY依赖版本

implementation 'com.github.CarGuo.GSYVideoPlayer:GSYVideoPlayer:v8.4.0-release-jitpack'

Demo中的复现步骤

每次断开视频流后状态不更新 一直为播放状态.

问题代码:(如果有)

问题log(如果有)

@CarGuo
Copy link
Owner

CarGuo commented Dec 26, 2023

因为没触发类似 onCompletion

@CarGuo CarGuo closed this as completed Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants