search

Home  >  Q&A  >  body text

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

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

習慣沉默習慣沉默2757 days ago945

reply all(0)I'll reply

No reply
  • Cancelreply