Comments (5)
已经在1.3.1中解决掉这个bug了,1.3.1已经发版。
from ctvideoplayerview.
你是initWithFrame的用法导致的crash么?如果是的话,这个问题已经在新版解决了。
如果不是的话,你能不能把你使用的语句给我看一下?
发自我的 iPhone
在 2016年11月15日,23:23,coderHooge <[email protected]mailto:[email protected]> 写道:
感谢作者提供如此给力的开源项目。自从上次升级以后,截止当前版本,播放器销毁时有崩溃。具体log如下:observers were still registered with it. Current observation info: <NSKeyValueObservationInfo 0x61000003f940> (
<NSKeyValueObservance 0x610000051970: Observer: 0x7fba66e10510, Key path: player.currentItem.status, Options: <New: YES, Old: NO, Prior: NO> Context: 0x105fd6388, Property: 0x608000092890>
<NSKeyValueObservance 0x610000051c70: Observer: 0x7fba66e10510, Key path: player.currentItem.duration, Options: <New: YES, Old: NO, Prior: NO> Context: 0x105fd6388, Property: 0x6100000954a0>
<NSKeyValueObservance 0x6100000521b0: Observer: 0x7fba66e10510, Key path: layer.readyForDisplay, Options: <New: YES, Old: NO, Prior: NO> Context: 0x105fd6388, Property: 0x610000095b80>
应该是observer没有正确移除导致。
―
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com//issues/23, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AA9Y1ff2as5LIDsuWHwJGkR87mVS5u-vks5q-cpfgaJpZM4KyoUc.
from ctvideoplayerview.
或者你在demo的tableview列表里给我提一个pr来复现这个crash?
发自我的 iPhone
在 2016年11月15日,23:23,coderHooge <[email protected]mailto:[email protected]> 写道:
感谢作者提供如此给力的开源项目。自从上次升级以后,截止当前版本,播放器销毁时有崩溃。具体log如下:observers were still registered with it. Current observation info: <NSKeyValueObservationInfo 0x61000003f940> (
<NSKeyValueObservance 0x610000051970: Observer: 0x7fba66e10510, Key path: player.currentItem.status, Options: <New: YES, Old: NO, Prior: NO> Context: 0x105fd6388, Property: 0x608000092890>
<NSKeyValueObservance 0x610000051c70: Observer: 0x7fba66e10510, Key path: player.currentItem.duration, Options: <New: YES, Old: NO, Prior: NO> Context: 0x105fd6388, Property: 0x6100000954a0>
<NSKeyValueObservance 0x6100000521b0: Observer: 0x7fba66e10510, Key path: layer.readyForDisplay, Options: <New: YES, Old: NO, Prior: NO> Context: 0x105fd6388, Property: 0x610000095b80>
应该是observer没有正确移除导致。
―
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com//issues/23, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AA9Y1ff2as5LIDsuWHwJGkR87mVS5u-vks5q-cpfgaJpZM4KyoUc.
from ctvideoplayerview.
我在项目中使用的过程中发现了有这样的bug。所以我下载最新项目的demo。在demo第一项Single Remote Video列表项点击,进入第一个videoplay 页面,此时不管是否点击play按钮,只要点击back按钮,在pop页面的时候(经测试,进入任何一个demo页面, pop的时候都会出现),必定出现这个bug。测试环境:Xcode 8.1,iPhone 7模拟器。
crash log:
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'An instance 0x7fe39f70df00 of class CTVideoView was deallocated while key value observers were still registered with it. Current observation info: <NSKeyValueObservationInfo 0x6080002398e0> (
<NSKeyValueObservance 0x6080002465a0: Observer: 0x7fe39f70df00, Key path: player.currentItem.status, Options: <New: YES, Old: NO, Prior: NO> Context: 0x10518d388, Property: 0x6000000918f0>
<NSKeyValueObservance 0x6080002463f0: Observer: 0x7fe39f70df00, Key path: player.currentItem.duration, Options: <New: YES, Old: NO, Prior: NO> Context: 0x10518d388, Property: 0x608000091490>
<NSKeyValueObservance 0x608000246600: Observer: 0x7fe39f70df00, Key path: layer.readyForDisplay, Options: <New: YES, Old: NO, Prior: NO> Context: 0x10518d388, Property: 0x608000090ef0>
)'
这个bug应该是从version 1.3.0出现,version 1.2.9没有这个问题。
from ctvideoplayerview.
卧槽?我赶紧看看
发自我的 iPhone
在 2016年11月16日,10:14,coderHooge <[email protected]mailto:[email protected]> 写道:
我在项目中使用的过程中发现了又这样的bug。所以我下载最新项目的demo。在demo第一项Single Remote Video列表项点击,进入第一个videoplay 页面,此时不管是否点击play按钮,只要点击back,pop页面的时候(经测试 进入任何一个demo页面, pop的时候都会出现),必定出现这个bug。测试环境:Xcode 8.1,iPhone 7模拟器。
debug log:Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'An instance 0x7fe39f70df00 of class CTVideoView was deallocated while key value observers were still registered with it. Current observation info: (
Context: 0x10518d388, Property: 0x6000000918f0>
Context: 0x10518d388, Property: 0x608000091490>
Context: 0x10518d388, Property: 0x608000090ef0>
)'
这个bug应该是从version 1.3.0出现,version 1.2.9没有这个问题。
―
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com//issues/23#issuecomment-260833591, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AA9Y1fRTYcDqF96avTUM3HwPSgJh5uVTks5q-mcLgaJpZM4KyoUc.
from ctvideoplayerview.
Related Issues (20)
- 崩溃
- Doesn't compile with latest version of HandyFrame HOT 2
- Full screen landscape HOT 1
- Fullscreen not working when embedded in UITableViewCell HOT 1
- 反馈下载失败问题
- license? HOT 1
- import not working correctly with cocoapods HOT 1
- 10.3.3 not support some video HOT 7
- build error HOT 2
- Property 'ct_size', 'ct_width', 'ct_height' not found on object of type 'UIView *' HOT 2
- 视频播放完后不走videoViewDidFinishPlaying回调 HOT 4
- 支持的视频格式 HOT 1
- Video longer than 10 seconds throw error HOT 21
- RTMP URL Gives Error: NSURLConnection finished with error - code -1002 HOT 3
- More videos in a single view raises error -11839 "Cannot Decode" HOT 5
- Error after compile library with cocoa pods HOT 3
- 下载完成后状态,和进度数据库存储问题,如图
- indicator 显示和隐藏的时机不对
- please add Carthage support
- Could not build Objective-C module 'CTVideoPlayerView', Xcode 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ctvideoplayerview.