easefun / polyv-ios-client-demo Goto Github PK
View Code? Open in Web Editor NEWPolyv iOS SDK demo
Polyv iOS SDK demo
sdk已更新,并配置好。但是还是不能播放。
问题出在 联系保利威视销售完成 ATS 升级?怎么联系和说明?
我司准备升级到9.0 但是PolySDK有很多方法出现了警告 计划在项目里设置屏蔽警告
你们有什么计划吗 比如SDK升级支持的系统版本之类的 或者 修改SDK内部的方法 尽量少出现警告 或者不要把警告暴露到外面
在showinwindow的情况下,全屏模式只是播放器全屏了,实际上状态栏还是原来的位置,而且一来通知,就会自动退出全屏模式,这个是否可以优化一下呢?
No idea what happened, the only thing could see is a black view with navbar.
Could you add some doc about full screen some day?
使用MLeakFinder:
View-ViewController stack: (
DetailViewController2,
UIView,
MPMovieView
)'
线上崩溃:
An AVPlayerItem cannot be associated with more than one instance of AVPlayer (_mh_execute_header + 1613604)
线上崩溃捕获到的日志:
2017-06-07 07:57:53.837 BTGAspects: Unable to find selector -[NSURLSessionConfiguration setProtocolClasses:].
2017-06-07 07:57:55.094 BUGTAGS: Bugtags v2.3.0(0510) started successfully
2017-06-07 07:58:27.002 [PLV_SDK_INFO] 播放在线视频,自动。
2017-06-07 08:21:32.107 ::: Socket broke, syncing message ..
崩溃步骤:
2017-06-07 08:01:40.588 Selector playButtonClick by (UIButton) in SkinVideoViewController
2017-06-07 08:01:58.904 Touch _webView(UIWebView):(MPMovieView):(SkinVideoViewControllerView) in EHCourseReplayController
2017-06-07 08:02:05.355 Touch _webView(UIWebView):(MPMovieView):(SkinVideoViewControllerView) in EHCourseReplayController
2017-06-07 08:02:06.205 Touch _webView(UIWebView):(MPMovieView):(SkinVideoViewControllerView):_bottomBar(UIView) in EHCourseReplayController
2017-06-07 08:02:07.915 Touch _webView(UIWebView):(MPMovieView):(SkinVideoViewControllerView) in EHCourseReplayController
2017-06-07 08:02:08.661 Selector progressSliderTouchBegan: by (UISlider) in SkinVideoViewController
2017-06-07 08:02:08.676 Touch _webView(UIWebView):(MPMovieView):(SkinVideoViewControllerView):_slider(PLVSlider):_slider(UISlider) in EHCourseReplayController
2017-06-07 08:02:08.752 Selector progressSliderValueChanged: by (UISlider) in SkinVideoViewController
2017-06-07 08:02:08.767 Selector progressSliderValueChanged: by (UISlider) in SkinVideoViewController
2017-06-07 08:02:08.783 Selector progressSliderValueChanged: by (UISlider) in SkinVideoViewController
2017-06-07 08:02:08.982 Selector progressSliderTouchEnded: by (UISlider) in SkinVideoViewController
2017-06-07 08:02:10.794 Touch _webView(UIWebView):(MPMovieView):(SkinVideoViewControllerView) in EHCourseReplayController
2017-06-07 08:02:17.641 Touch _webView(UIWebView):(MPMovieView):(SkinVideoViewControllerView):_pauseButton(UIButton) in EHCourseReplayController
2017-06-07 08:02:17.736 Selector pauseButtonClick by (UIButton) in SkinVideoViewController
2017-06-07 08:02:54.464 Touch _webView(UIWebView):(MPMovieView):(SkinVideoViewControllerView) in EHCourseReplayController
2017-06-07 08:02:55.525 Touch _webView(UIWebView):(MPMovieView):(SkinVideoViewControllerView):_playButton(UIButton) in EHCourseReplayController
2017-06-07 08:02:55.673 Selector playButtonClick by (UIButton) in SkinVideoViewController
2017-06-07 08:07:22.896 Application WillResignActive
2017-06-07 08:07:24.920 Application DidBecomeActive
2017-06-07 08:14:03.800 Touch _webView(UIWebView):(MPMovieView):(SkinVideoViewControllerView) in EHCourseReplayController
2017-06-07 08:14:04.581 Touch _webView(UIWebView):(MPMovieView):(SkinVideoViewControllerView):_pauseButton(UIButton) in EHCourseReplayController
2017-06-07 08:14:04.747 Selector pauseButtonClick by (UIButton) in SkinVideoViewController
2017-06-07 08:15:27.010 Touch _webView(UIWebView):(MPMovieView):(SkinVideoViewControllerView):_playButton(UIButton) in EHCourseReplayController
2017-06-07 08:15:27.157 Selector playButtonClick by (UIButton) in SkinVideoViewController
2017-06-07 08:16:49.332 Touch _webView(UIWebView):(MPMovieView):(SkinVideoViewControllerView) in EHCourseReplayController
2017-06-07 08:21:06.671 Application WillResignActive
2017-06-07 08:21:07.313 Application DidEnterBackground
2017-06-07 08:21:08.038 Application WillEnterForeground
2017-06-07 08:21:08.554 Application DidBecomeActive
2017-06-07 08:21:09.723 Touch _webView(UIWebView):(MPMovieView):(SkinVideoViewControllerView):_playButton(UIButton) in EHCourseReplayController
2017-06-07 08:21:09.815 Selector playButtonClick by (UIButton) in SkinVideoViewController
2017-06-07 08:21:13.580 Application WillResignActive
2017-06-07 08:21:14.128 Application DidEnterBackground
使用setContentURL去播在线视频时,播不出来,请问是SDK不支持么?
*** -[__NSArrayI objectAtIndex:]: index 18446744073709551615 beyond bounds [0 .. 2]
ZejiwangxiaoiOS -[PvUrlSessionDownload startTask] (PvUrlSessionDownload.m:)
duplicate symbol OBJC_IVAR$__FBKVOInfo._state in:
/Users/yuechen/Library/Developer/Xcode/DerivedData/ehanceCourse-gvalitdcojdgbfclebheyzfmsrbc/Build/Products/Debug-iphonesimulator/KVOController/libKVOController.a(FBKVOController.o)
/Users/yuechen/Home/CodeHome/enhanceCourse/EHCourse/Lib/libpolyvSDK/libpolyvSDK.a(PLV_FBKVOController.o)
ld: 14 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
提示如下
NSInvalidArgumentException
An AVPlayerItem cannot be associated with more than one instance of AVPlayer
CoreFoundation ___exceptionPreprocess
2017-06-08 18:40:19.886646+0800 polyvSDK[3327:1054171] [PLV_SDK_INFO] download dir: /var/mobile/Containers/Data/Application/B3BF003E-931F-47E4-ABFD-2FB9931BC341/Documents/plvideo/a
2017-06-08 18:40:58.284452+0800 polyvSDK[3327:1054171] [PLV_SDK_INFO] 播放在线视频,自动。
2017-06-08 18:40:58.752586+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:40:58.968389+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:40:59.186671+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:40:59.371351+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:40:59.600839+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:40:59.764634+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:40:59.934198+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:41:00.103759+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:41:11.793903+0800 polyvSDK[3327:1054171] [Playback] ❗️Failed to queue any items.
2017-06-08 18:41:11.857042+0800 polyvSDK[3327:1054171] [Playback] ❗️Failed to queue any items.
2017-06-08 18:41:12.536313+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:41:12.719443+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:41:12.935915+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:41:13.135522+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:41:13.423639+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:41:13.523328+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:41:13.701863+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:41:13.902133+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:41:14.086430+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:41:14.270553+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:41:14.486940+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:41:14.689077+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:41:14.886296+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:41:15.070588+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:41:15.220079+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:41:17.070758+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:41:17.269799+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:41:17.452751+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:41:17.657696+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:41:17.821273+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:41:18.021216+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:41:30.940623+0800 polyvSDK[3327:1054171] [Playback] ❗️Failed to queue any items.
2017-06-08 18:41:31.004058+0800 polyvSDK[3327:1054171] [Playback] ❗️Failed to queue any items.
2017-06-08 18:41:31.786839+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:41:31.871240+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:41:32.070989+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:41:32.236926+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:41:32.441028+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:41:32.621088+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:41:32.791517+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:41:33.005365+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:41:33.170801+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:41:33.359937+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:41:33.556052+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:41:33.723904+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:41:33.906068+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:41:34.122701+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:41:34.324085+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:41:35.307520+0800 polyvSDK[3327:1054171] [Playback] ❗️Failed to queue any items.
2017-06-08 18:41:35.349720+0800 polyvSDK[3327:1054171] [Playback] ❗️Failed to queue any items.
2017-06-08 18:41:35.361579+0800 polyvSDK[3327:1054171] [Playback] ❗️Failed to queue any items.
2017-06-08 18:41:37.840445+0800 polyvSDK[3327:1054171] [PLV_SDK_INFO] 播放在线视频,自动。
2017-06-08 18:41:38.456354+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:41:38.654556+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:41:38.856628+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:41:39.056501+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:41:39.239810+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:41:39.457011+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:41:39.657387+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:41:39.856588+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:41:40.056941+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:41:40.273501+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:41:40.474085+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:41:40.673518+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:41:40.856419+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:41:41.056699+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:41:41.258556+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:41:41.439949+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:41:41.889851+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:41:42.108129+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:41:42.307858+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:41:42.506637+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:41:42.706552+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:41:42.956445+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:41:44.361859+0800 polyvSDK[3327:1054171] [Playback] ❗️Failed to queue any items.
2017-06-08 18:41:45.022870+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:41:45.238151+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:41:45.438396+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:41:45.639722+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:41:45.873637+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:41:46.073495+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:41:46.245614+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:41:47.525384+0800 polyvSDK[3327:1054171] [Playback] ❗️Failed to queue any items.
2017-06-08 18:41:48.172238+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:41:48.376000+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:41:48.600127+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:41:48.789786+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:41:48.989728+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:41:49.189972+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:41:49.358515+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:41:49.541186+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:41:51.118059+0800 polyvSDK[3327:1054171] [Playback] ❗️Failed to queue any items.
2017-06-08 18:41:51.150693+0800 polyvSDK[3327:1054171] [Playback] ❗️Failed to queue any items.
2017-06-08 18:41:51.623453+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:41:51.939681+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:41:52.061242+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:41:52.255809+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:41:52.538777+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:41:52.723711+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:41:52.909001+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:41:53.109706+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:41:53.292018+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:41:53.461452+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:41:53.642692+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:41:53.895166+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:41:54.091985+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:41:54.274566+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:42:08.806021+0800 polyvSDK[3327:1054171] [Playback] ❗️Failed to queue any items.
2017-06-08 18:42:08.830956+0800 polyvSDK[3327:1054171] [Playback] ❗️Failed to queue any items.
2017-06-08 18:42:09.774596+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:42:10.144299+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:42:10.234822+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:42:10.406855+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:42:10.607360+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:42:10.807396+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:42:10.992789+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:42:11.227352+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:42:11.445897+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:42:11.711662+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:42:11.909520+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:42:12.126210+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:42:15.160931+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:42:15.392893+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:42:15.610586+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:42:15.861332+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:42:16.076462+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:42:16.292900+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:42:16.513494+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:42:16.726386+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:42:16.925136+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:42:17.114386+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:42:17.293422+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:42:17.493995+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:42:17.682726+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:42:18.727790+0800 polyvSDK[3327:1054171] [Playback] ❗️Failed to queue any items.
2017-06-08 18:42:18.731828+0800 polyvSDK[3327:1054171] [Playback] ❗️Failed to queue any items.
2017-06-08 18:42:18.743595+0800 polyvSDK[3327:1054171] [Playback] ❗️Failed to queue any items.
2017-06-08 18:42:20.665611+0800 polyvSDK[3327:1054171] [PLV_SDK_INFO] 播放在线视频,自动。
2017-06-08 18:42:21.258848+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:42:21.493311+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:42:21.709939+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:42:21.926468+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:42:22.143236+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:42:22.343208+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:42:22.560033+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:42:24.438140+0800 polyvSDK[3327:1054171] [Playback] ❗️Failed to queue any items.
2017-06-08 18:42:25.077007+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:42:25.324603+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:42:25.525983+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:42:25.743733+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:42:25.953661+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:42:26.159297+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:42:26.375895+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:42:26.577512+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:42:26.777251+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:42:27.030923+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:42:27.224983+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:42:27.425254+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:42:27.642793+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:42:27.894038+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:42:28.094140+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:42:28.277390+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:42:28.493895+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:42:28.693783+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:42:28.894329+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:42:29.095394+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:42:29.294343+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:42:29.477478+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:42:29.660575+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:42:29.877484+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:42:40.409215+0800 polyvSDK[3327:1054171] [Playback] ❗️Failed to queue any items.
2017-06-08 18:42:40.460721+0800 polyvSDK[3327:1054171] [Playback] ❗️Failed to queue any items.
2017-06-08 18:42:50.929382+0800 polyvSDK[3327:1054171] 30: AudioSessionSilenceOutput2 is passing a serverPID of 0 to CheckRPCError!
2017-06-08 18:42:50.936473+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:42:50.941003+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:42:51.158397+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:42:51.162599+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:42:51.185509+0800 polyvSDK[3327:1054171] [Playback] ❗️Playback failed with error: Error Domain=AVFoundationErrorDomain Code=-11819 "Cannot Complete Action" UserInfo={NSLocalizedDescription=Cannot Complete Action, NSLocalizedRecoverySuggestion=Try again later.}, not resolving (canResolve: YES, errorResolver: (null))
2017-06-08 18:42:51.188270+0800 polyvSDK[3327:1054171] [Playback]
2017-06-08 18:42:51.195088+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:42:51.200101+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:42:51.209039+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:42:51.213019+0800 polyvSDK[3327:1054171] user click pause button
2017-06-08 18:42:51.217815+0800 polyvSDK[3327:1054171] user click play button
2017-06-08 18:42:51.227011+0800 polyvSDK[3327:1054171] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'An AVPlayerItem cannot be associated with more than one instance of AVPlayer'
*** First throw call stack:
(0x188f5efe0 0x1879c0538 0x19091631c 0x1909031c0 0x193e65f3c 0x193d4fc1c 0x193d4f278 0x193d4da2c 0x193de3ddc 0x193c89f98 0x193c8b3d8 0x10036da50 0x10036da10 0x100372b78 0x188f0d0c8 0x188f0ace4 0x188e3ada4 0x18a8a4074 0x18f0f5058 0x1000f5c98 0x187e4959c)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
(lldb) bt
thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
frame #0: 0x0000000187f59014 libsystem_kernel.dylib__pthread_kill + 8 frame #1: 0x0000000188023264 libsystem_pthread.dylib
pthread_kill + 112
frame #2: 0x0000000187ecd9c4 libsystem_c.dylibabort + 140 frame #3: 0x00000001879991b0 libc++abi.dylib
abort_message + 132
frame #4: 0x00000001879b2c04 libc++abi.dylibdefault_terminate_handler() + 304 frame #5: 0x00000001879c0820 libobjc.A.dylib
_objc_terminate() + 124
frame #6: 0x00000001879af5d4 libc++abi.dylibstd::__terminate(void (*)()) + 16 frame #7: 0x00000001879aeef8 libc++abi.dylib
__cxa_throw + 136
frame #8: 0x00000001879c066c libobjc.A.dylibobjc_exception_throw + 364 frame #9: 0x000000019091631c AVFoundation
-[AVPlayerItem _attachToPlayer:] + 332
frame #10: 0x00000001909031c0 AVFoundation-[AVPlayer _insertItem:afterItem:] + 100 frame #11: 0x0000000193e65f3c MediaPlayer
-[MPQueuePlayer insertItem:afterItem:] + 68
frame #12: 0x0000000193d4fc1c MediaPlayer-[MPAVQueueCoordinator _syncPlayerItems] + 1876 frame #13: 0x0000000193d4f278 MediaPlayer
-[MPAVQueueCoordinator _syncItemsWithPreviousItems:] + 1792
frame #14: 0x0000000193d4da2c MediaPlayer-[MPAVQueueCoordinator reloadItemsKeepingCurrentItem:] + 1112 frame #15: 0x0000000193de3ddc MediaPlayer
-[MPAVPlaylistManager connectPlayer] + 676
frame #16: 0x0000000193c89f98 MediaPlayer-[MPAVController _connectAVPlayer] + 188 frame #17: 0x0000000193c8b3d8 MediaPlayer
__42-[MPAVController _serverConnectionDidDie:]_block_invoke + 52
frame #18: 0x000000010036da50 libdispatch.dylib_dispatch_call_block_and_release + 24 frame #19: 0x000000010036da10 libdispatch.dylib
_dispatch_client_callout + 16
frame #20: 0x0000000100372b78 libdispatch.dylib_dispatch_main_queue_callback_4CF + 1204 frame #21: 0x0000000188f0d0c8 CoreFoundation
CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 12
frame #22: 0x0000000188f0ace4 CoreFoundation__CFRunLoopRun + 1572 frame #23: 0x0000000188e3ada4 CoreFoundation
CFRunLoopRunSpecific + 424
frame #24: 0x000000018a8a4074 GraphicsServicesGSEventRunModal + 100 frame #25: 0x000000018f0f5058 UIKit
UIApplicationMain + 208
frame #26: 0x00000001000f5c98 polyvSDKmain(argc=1, argv=0x000000016fd17ad8) at main.m:16 frame #27: 0x0000000187e4959c libdyld.dylib
start + 4
(lldb)
if (!_videoPlayer) {
[_webView layoutIfNeeded];
_videoPlayer = [[SkinVideoViewController alloc] initWithFrame:_webView.bounds];
[_webView addSubview:_videoPlayer.view];
[_videoPlayer setParentViewController:self];
[_videoPlayer keepNavigationBar:YES];
[_videoPlayer setHeadTitle:_replay.name];
[_videoPlayer setNavigationController:self.navigationController];
[_videoPlayer setMovieSourceType:MPMovieSourceTypeStreaming];
[_videoPlayer enableDanmu:YES];
[_videoPlayer setEnableDanmuDisplay:NO]; // 不显示弹幕按钮
}
_videoPlayer.contentURL = nil;
[_videoPlayer setVid:_replay.polyv_id];
// 注册监听
[_videoPlayer configObserver];
__weak typeof(self) weakself = self;
[_videoPlayer setFullscreenBlock:^{
weakself.titleLbl.hidden = TRUE;
weakself.titleImgView.hidden = TRUE;
}];
[_videoPlayer setShrinkscreenBlock:^{
weakself.titleLbl.hidden = FALSE;
weakself.titleImgView.hidden = FALSE;
}];
[ERROR] Error while writing to socket 17: Broken pipe (32)
[ERROR] Error while writing to socket 22: Broken pipe (32)
user click play button
[ERROR] Error while writing to socket 14: Broken pipe (32)
[ERROR] Error while writing to socket 8: Broken pipe (32)
user click play button
[ERROR] Error while writing to socket 10: Broken pipe (32)
[ERROR] Error while writing to socket 26: Broken pipe (32)
[ERROR] Error while writing to socket 10: Broken pipe (32)
有时候会崩溃 然后我在setvid加了一个trycatch 打了一个全局断电 会崩溃在PLVMoviePlayerController vidAvailable 但是多播放几次 忽然又能成功播放了 这是什么原因呢 应该不是App的问题吧
func dataDownloadAtPercent(downloader: PvUrlSessionDownload!, withVid vid: String!, percent aPercent: NSNumber!) {
print("dataDownloadAtPercent",vid,aPercent)
}
这个下载百分比回调函数,
在下载到95%-98%左右,会停止回调,导致下载进度也停止,
但是再次开始任务时,这个下载回调才开始,会很快到进度100%
使用PvUrlSessionDownload下载视频,其中设置代理 [downloader setDownloadDelegate:self]后,点击页面的返回按钮,UIViewController没有被销毁(self是该UIViewController的实例
发现了一个新的bug,mp3文件不支持离线播放,
2017年1月1日 App Store中的所有应用都必须启用 App Transport Security安全功能,否则极有可能被拒
你家的NSAppTransportSecurity该怎么写?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.