objective-c - ios推流,ios再拉流只能拉一次,再次拉流就拉不到.

 米年爱秋天 发布于 2022-10-25 07:02

1.ios端推流,再用另一个ios端拉流.只能拉一次,第二次拉就拉不到.而使用安卓来拉却没有问题.
2.安卓推流.ios怎么拉都没没问题.
请问大大,这是怎么回事啊?!

ios推流一直打印这个:[PLStreamingSession] cannot push pixelbuffer since last pixelbuffer is still on going
ios拉流失败时打印这个:
2017-04-07 14:45:27:082 TV[58446:6724768] play url:rtmp://113.207.123.131/jidi/jiditv1388469228?domain=pili-live-rtmp.jiditv.com -[PLPlayer prepareToPlay] 514
2017-04-07 14:45:27:082 TV[58446:6724768] call stop when stopped -[PLAVContext stop] 427
2017-04-07 14:45:27:082 TV[58446:6724768] 1761113840 play context dealloc: rtmp://113.207.123.132/jidi/jiditv1388469228?domain=pili-live-rtmp.jiditv.com -[PLAVContext dealloc] 121
2017-04-07 14:45:27:082 TV[58446:6724768] 4742272 audio decoder dealloc -[PLAACDecoder dealloc] 37
2017 avinput close: rtmp://113.207.123.132/jidi/jiditv1388469228?domain=pili-live-rtmp.jiditv.com
2017-04-07 14:45:27:082 TV[58446:6724768] 4742272 close audio codec -[PLAACDecoder closeCodec] 42
2017-04-07 14:45:27:082 TV[58446:6724768] 10902144 video decoder dealloc -[PLAVDecoder dealloc] 95
2017-04-07 14:45:27:082 TV[58446:6724768] 10902144 close video decoder -[PLAVDecoder closeCodec] 263
2017-04-07 14:45:27:082 TV[58446:6724768] 3543744 close video codec -[PLAVVideoCodec close] 82
2017 avinput close: rtmp://113.207.123.132/jidi/jiditv1388469228?domain=pili-live-rtmp.jiditv.com
2017-04-07 14:45:27:082 TV[58446:6724768] 3543744 video codec dealloc -[PLAVVideoCodec dealloc] 37
2017-04-07 14:45:27:082 TV[58446:6724768] 3543744 close video codec -[PLAVVideoCodec close] 82
2017-04-07 14:45:27:082 TV[58446:6724768] render context dealloc -[PLAVRenderContext dealloc] 83
pili open: rtmp://113.207.123.131/jidi/jiditv1388469228?domain=pili-live-rtmp.jiditv.com
pili input open av
2017-04-07 14:45:27:106 TV[58446:6724768] player status change from (1) to (2) -[PLPlayer setPlayerStatus:error:] 383
2017-04-07 14:45:27.106 TV[58446:6724238] statusPLPlayerStatusReady
2017-04-07 14:45:27:106 TV[58446:6724768] play caching -[PLAVContext play:] 295
2017-04-07 14:45:27:106 TV[58446:6724768] input open : rtmp://113.207.123.131/jidi/jiditv1388469228?domain=pili-live-rtmp.jiditv.com -[PLInput open:error:] 183
[flv @ 0x7fa76a8ef800] video stream discovered after head already parsed
[flv @ 0x7fa76a8ef800] audio stream discovered after head already parsed
2017-04-07 14:45:42:138 TV[58446:6724768] input timeout, status:0, isClosed:0 -[PLInput IOInterruptDemux:] 381
2017-04-07 14:45:42:138 TV[58446:6724768] input timeout, status:0, isClosed:0 -[PLInput IOInterruptDemux:] 381
[flv @ 0x7fa76a8ef800] Could not find codec parameters for stream 1 (Audio: aac, 44100 Hz, mono): unspecified sample format
Consider increasing the value for the 'analyzeduration' and 'probesize' options

撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有