pili-engineering / PLCameraStreamingKit

PLCameraStreamingKit 是 Pili 直播 SDK 的 iOS 推流端,是带有采集模块老版本 SDK。如果是新用户接入,建议使用 PLMediaStreamingKit。该版本支持 RTMP 推流,h.264 和 AAC 编码,硬编软编支持。具有丰富的数据和状态回调,方便用户根据自己的业务定制化开发。具有直播场景下的重要功能,如:美颜、背景音乐、水印等功能。
https://github.com/pili-engineering/PLMediaStreamingKit
Apache License 2.0
1.03k stars 254 forks source link

[PLSendingBuffer clean]的时候会偶发EXC_BAD_ACCESS / KERN_INVALID_ADDRESS #58

Closed 5kccp closed 8 years ago

5kccp commented 9 years ago

EXC_BAD_ACCESS / KERN_INVALID_ADDRESS 0 libobjc.A.dylib 1 CoreFoundation 2 AGVideoDev -[PLSendingBuffer clean] [PLSendingBuffer.m line 427] 3 AGVideoDev -[PLCameraStreamingSession rtmpSession:didDisconnectWithError:] [PLCameraStreamingSession.m line 438] 4 AGVideoDev StreamStateCallback [PLRTMPSession.m line 40] 5 AGVideoDev rtmp_error_callback [push.c line 38] 6 AGVideoDev RTMP_Close [rtmp.c line 3610] 7 AGVideoDev WriteN [rtmp.c line 1536] 8 AGVideoDev RTMP_SendPacket [rtmp.c line 3517] 9 AGVideoDev pili_write_flv_tag [push.c line 179] 10 AGVideoDev -[PLRTMPSession sendPacket] [PLRTMPSession.m line 277] 11 libdispatch.dylib 12 libdispatch.dylib 13 libdispatch.dylib 14 libdispatch.dylib 15 libdispatch.dylib 16 libdispatch.dylib 17 libsystem_pthread.dylib 18 libsystem_pthread.dylib

cnwangsiyu commented 8 years ago

已解决