Giter VIP home page Giter VIP logo

Comments (5)

casatwy avatar casatwy commented on June 25, 2024 1

已经在1.3.1中解决掉这个bug了,1.3.1已经发版。

from ctvideoplayerview.

casatwy avatar casatwy commented on June 25, 2024

你是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.

casatwy avatar casatwy commented on June 25, 2024

或者你在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.

hoowang avatar hoowang commented on June 25, 2024

我在项目中使用的过程中发现了有这样的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.

casatwy avatar casatwy commented on June 25, 2024

卧槽?我赶紧看看

发自我的 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.