bilibili / bilibili/ijkplayer

(iOS)Can't receive the event of stream reach end.

Open
#685 1 comment 0 reactions 0 assignees View on GitHub
i-have-no-idea
Dominant language
C
Stars
33.2k
Forks
8.2k
PR merge metrics
No merged PRs in 30d

Description

I'm using it to play a live stream(RTMP) from a pc client.During the playing, I often receive the notification of "MPMovieLoadStateStalled" (for network slow issue I think), but If I stop the client to push the stream, I also receive "MPMovieLoadStateStalled" and this is the only notify I receive.How can I tell these two different activities? Is there any other way to get the stream-stopped action?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the RTMP playback scenario described in the issue and observe the MPMovieLoadStateStalled notification when the publisher stops versus when the network slows. Check the iOS playback notification entry points to determine whether a distinct stream-ended event is available; done means documenting or exposing a reliable way to distinguish the two cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios
Domain
audio-video-rtc, mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.