Skip to content

Commit

Permalink
fix #3892
Browse files Browse the repository at this point in the history
  • Loading branch information
CarGuo committed Nov 21, 2023
1 parent 6b04898 commit b0b3d55
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ private String getUrl() {
//String url = "https://res.exexm.com/cw_145225549855002";
//String url = "http://storage.gzstv.net/uploads/media/huangmeiyan/jr05-09.mp4";//mepg
//String url = "https://zh-files.oss-cn-qingdao.aliyuncs.com/20170808223928mJ1P3n57.mp4";//90度
String url = "http://dbiptv.sn.chinamobile.com/PLTV/88888888/224/3221226395/1.m3u8";//90度
String url = "http://7xjmzj.com1.z0.glb.clouddn.com/20171026175005_JObCxCE2.mp4";//90度
//String url = " String source1 = "http://9890.vod.myqcloud.com/9890_4e292f9a3dd011e6b4078980237cc3d3.f20.mp4";
//String url = "http://video.cdn.aizys.com/zzx3.9g.mkv";//long
//String url = "rtsp://admin:[email protected]:554/h264/ch01/main/av_stream";//long
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,12 @@ public void onAutoCompletion() {
super.onAutoCompletion();
}

@Override
protected void releaseVideos() {
/// fix https://github.com/CarGuo/GSYVideoPlayer/issues/3892
super.onCompletion();
super.releaseVideos();
}

/**
* 开始状态视频播放,prepare时不执行 addTextureView();
Expand Down

0 comments on commit b0b3d55

Please sign in to comment.