Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

在观看别人直播的时候,走了此代理方法,并且state出现了两个状态,

  • (void)player:(nonnull PLPlayer *)player statusDidChange:(PLPlayerStatus)state

PLPlayerStatusPreparing

PLPlayerStatusReady

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo} span.s1 {font-variant-ligatures: no-common-ligatures}
然后打印了这条数据:
Impossible to open the 'rtmp' protocol for reading
接着就跳到了代理方法:

  • (void)player:(nonnull PLPlayer )player stoppedWithError:(nullable NSError )error
    打印error显示:Error Domain=pili.player.error Code=-2101 "-5:Input/output error" UserInfo={NSLocalizedDescription=-5:Input/output error}

推流端也是用的七牛。网络也没有问题,但是一直都没法拉流。跪求大神帮助!


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
313 views
Welcome To Ask or Share your Answers For Others

1 Answer

等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...