bilibili / bilibili/ijkplayer

android端短时间断网后恢复,播放无法恢复,ios端可以

Open
#2,005 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
33.2k
Forks
8.2k
PR merge metrics
No merged PRs in 30d

Description

如题,ios端设置超时时间为30s,播放过程中关闭网络,在30s之内恢复网络,播放能够恢复。但是android端同样设置超时间为30s,断网后会立即返回播放失败,网络恢复后无法恢复播放。
采用rtmp和http-flv拉流均是如此,这个是什么原因呢?

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure on Android with both RTMP and HTTP-FLV streams: disconnect during playback and restore the network within the 30-second timeout. Compare the Android behavior with iOS, and consider the issue resolved when playback recovers after reconnection instead of immediately reporting playback failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, c, ios
Domain
audio-video-rtc, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.