ksvc / KSYMediaPlayer_iOS

金山云iOS播放SDK(KSYUN Live Streaming player SDK),支持RTMP HTTP-FLV HLS 协议(supporting RTMP HTTP-FLV HLS protocol),直播延时2-3秒(Living delay 2 or 3 seconds)
http://v.ksyun.com/
Apache License 2.0
561 stars 143 forks source link

调用stop,没有收到player finish的通知。 #100

Closed carusd closed 6 years ago

carusd commented 6 years ago

根据 KSYMediaPlayback 里的对 stop 方法的描述,调用 stop 之后应该会收到 MPMoviePlayerPlaybackDidFinishNotification 的通知。 但是实践中发现没有收到这个通知,反而是收到了 MPMoviePlayerPlaybackStateDidChangeNotification 通知,在这里断点可以发现播放器的状态是 MPMoviePlaybackStateStopped 。 想问问是不是这里文档的说明是不是已经失效了?如果是,我就不用回去检查用法有没有问题了。

播放器版本:2.9.4.1,iOS 11,iPhone 7p

mayudong1 commented 6 years ago

目前看来确实是这种表现,应该跟用法没关系,以实际表现为准吧 文档中的描述可能已经不准确了,但是没有及时更新 谢谢反馈

carusd commented 6 years ago

ok, case closed