pili-engineering / PLMediaStreamingKit

PLMediaStreamingKit 是七牛推出的一款适用于 iOS 平台的推流 SDK,支持 RTMP 推流,h.264 和 AAC 编码,硬编、软编支持。具有丰富的数据和状态回调,方便用户根据自己的业务定制化开发。具有直播场景下的重要功能,如:美颜、背景音乐、水印等功能。
https://github.com/pili-engineering/PLMediaStreamingKit
Apache License 2.0
543 stars 243 forks source link

PLMediaStreamingSession推流iPhoneX crash #94

Closed OliviaDong2013 closed 6 years ago

OliviaDong2013 commented 6 years ago

已经更新PLMediaStreamingKit到最新版本(2018.5.22更新到自己的项目中), 然而: PLMediaStreamingSession的startStreamingWithPushURL开始推流大概5秒之后程序闪退, 其他平台运行良好,仅在iPhoneX上crash,log如下: Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIStatusBar_Modern 0x155e07f00> valueForUndefinedKey:]: this class is not key value coding-compliant for the key foregroundView.' 还请开发团队看一下能否尽快修复。 谢!

depthlove commented 6 years ago

@OliviaDong2013 Got. We will be check it.

depthlove commented 6 years ago

@OliviaDong2013 We solved it on 13 Oct 2017. You need to use the latest version.

OliviaDong2013 commented 6 years ago

Was failed on updating under MacOS 10.13.4 High Sierra with Ruby 2.0, did not notice that... Updated PLMediaStreamingKit to the latest version 2.3.1 today, and every thing just works fine. Thanks a lot. :)