2017-04-26 106 views
0

我已經搜索了很多,但沒有找到任何相關的帖子,博客或有關我的問題的問題。JWPlayer在iOS上啓用調試模式

我需要在播放器加載時檢查JWPlayer上的所有進程和時間;在iOS上可以嗎?

當我設置一個視頻的URL(它是流)時,JWPlayer需要很長時間才能初始化。我想檢查什麼是增加響應時間的過程。

的JWPlayer版本2.4.1

回答

0

我建議使用Safari的iOS檢查將設備連接到Safari瀏覽器的桌面。那麼你可以檢查所有的表演。這是蘋果如何:https://developer.apple.com/library/content/documentation/AppleApplications/Conceptual/Safari_Developer_Guide/GettingStarted/GettingStarted.html

注:也許你的意思是...... jwplayer v.7?

UPDATE:
使用JwPlayer的iOS SDK與XCode中你可以檢查使用儀器澈CPU使用和流程,時間Profiler工具,當然。 https://developer.apple.com/library/content/documentation/DeveloperTools/Conceptual/InstrumentsUserGuide/MeasuringCPUUse.html

https://developer.apple.com/library/content/documentation/DeveloperTools/Conceptual/InstrumentsUserGuide/Recording,Pausing,andStoppingTraces.html

+0

我不是說JWPlayer的網絡版本;我在iOS應用程序上使用JWPlayer,並需要檢查其應用程序的性能 –

+0

對於這種誤解,我很抱歉,因此使用XCode,您可以使用Instruments和時間剖析器來檢查CPU的使用和進程。 https://developer.apple.com/library/content/documentation/DeveloperTools/Conceptual/InstrumentsUserGuide/MeasuringCPUUse.html – Francesco

+0

我需要檢查所有JWPlayer進程和每個進程需要的時間,我不確定它怎麼可能通過儀器 –