Comments (3)
有对应的测试URL吗?现在播放起来报什么错?
from ksymediaplayer_ios.
你好 播放器界面显示的是Player Error:1
因为这个是本机测试 没有外网URL
下面是控制台的输出调试信息
2017-06-21 10:10:53.461141+0800 KSYPlayerDemo[27059:77588] [aqme] 254: AQDefaultDevice (173): skipping input stream 0 0 0x0
2017-06-21 10:10:55.469648+0800 KSYPlayerDemo[27059:77588] [aqme] 254: AQDefaultDevice (173): skipping input stream 0 0 0x0
2017-06-21 10:10:55.889 KSYPlayerDemo[27059:77277] now play http://127.0.0.1/fenpianflv.m3u8
2017-06-21 10:10:55.915 KSYPlayerDemo[27059:77277] OK setup GL
2017-06-21 10:10:55.919 KSYPlayerDemo[27059:77277] ------ Player Configuration ------
2017-06-21 10:10:55.920 KSYPlayerDemo[27059:77277] sdk version = 2.3.0.0
2017-06-21 10:10:55.920 KSYPlayerDemo[27059:77277] shouldAutoplay = 1
2017-06-21 10:10:55.920 KSYPlayerDemo[27059:77277] shouldLoop = 0
2017-06-21 10:10:55.921 KSYPlayerDemo[27059:77277] shouldMute = 0
2017-06-21 10:10:55.921 KSYPlayerDemo[27059:77277] shouldHideVideo = 0
2017-06-21 10:10:55.921 KSYPlayerDemo[27059:77277] decodeMode = 2
2017-06-21 10:10:55.922 KSYPlayerDemo[27059:77277] bufferTimeMax = 2.000000
2017-06-21 10:10:55.922 KSYPlayerDemo[27059:77277] scalingMode = 1
2017-06-21 10:10:55.922 KSYPlayerDemo[27059:77277] prepareTimeout = 10
2017-06-21 10:10:55.923 KSYPlayerDemo[27059:77277] readTimeout = 30
2017-06-21 10:10:55.923 KSYPlayerDemo[27059:77277] ------ Player Configuration end ------
2017-06-21 10:10:55.924 KSYPlayerDemo[27059:77277] logJson is { "dev_id" : "5CBHVE8A-1FC0-4BBA-864E-77664398E228", "os_ver" : "10.3", "log_vn" : 101, "platform" : "iOS", "dev_model" : "iPhone Simulator", "sdk_ver" : "2.3.0.0", "log_ver" : "1.0.1", "sdk_type" : "player", "pkg" : "com.ksyun.media.ios.KSYPlayerDemo"}
2017-06-21 10:10:55.924 KSYPlayerDemo[27059:77277] ------ Player Configuration ------
2017-06-21 10:10:55.925 KSYPlayerDemo[27059:77277] sdk version = 2.3.0.0
2017-06-21 10:10:55.925 KSYPlayerDemo[27059:77277] shouldAutoplay = 1
2017-06-21 10:10:55.925 KSYPlayerDemo[27059:77277] shouldLoop = 0
2017-06-21 10:10:55.926 KSYPlayerDemo[27059:77277] shouldMute = 0
2017-06-21 10:10:55.926 KSYPlayerDemo[27059:77277] shouldHideVideo = 0
2017-06-21 10:10:55.926 KSYPlayerDemo[27059:77277] decodeMode = 2
2017-06-21 10:10:55.926 KSYPlayerDemo[27059:77277] bufferTimeMax = 2.000000
2017-06-21 10:10:55.927 KSYPlayerDemo[27059:77277] scalingMode = 1
2017-06-21 10:10:55.927 KSYPlayerDemo[27059:77277] prepareTimeout = 10
2017-06-21 10:10:55.928 KSYPlayerDemo[27059:77277] readTimeout = 30
2017-06-21 10:10:55.928 KSYPlayerDemo[27059:77277] ------ Player Configuration end ------
2017-06-21 10:10:55.928 KSYPlayerDemo[27059:77358] network reachable change from Unknown to WIFI
2017-06-21 10:10:56.389 KSYPlayerDemo[27059:77277] logJson is { "stream_type" : "vod", "body_type" : "onPrepared", "url" : "http://127.0.0.1/fenpianflv.m3u8", "playId" : "99665d55133e300099d7afaf7yyf466e", "_id" : "201706211010551038922677", "prepare_read_bytes" : 20, "fail_code" : 1, "net_des" : "(null)", "type" : 100, "net_type" : "Wifi", "first_frame" : 12, "vcodec" : "N/A", "buf_time_max" : 2, "key_count" : 20, "date" : "1498011056388", "prepare_cost" : 463, "action_id" : "b99af64eb3e1813b9a5eb259cf5390a0", "open_stream_cost" : 463, "serverIp" : "127.0.0.1", "play_stat" : "fail"}
2017-06-21 10:10:56.389 KSYPlayerDemo[27059:77277] logJson is { "ldnsIp" : "", "clientIp" : "", "body_type" : "cdnMonitor", "httpCode" : 206, "respDt" : 12, "url" : "http://127.0.0.1/fenpianflv.m3u8", "playId" : "99665d55133e300099d7afaf7yyf466e", "_id" : "201706211010551038922677", "connectDt" : 0, "taskType" : 0, "downTime" : 0, "type" : 100, "os_ver" : "10.3", "domain" : "127.0.0.1", "downSpeed" : 0, "platform" : "iOS", "dnsDt" : 0, "date" : "1498011056389", "net_type" : "Wifi", "key_count" : 23, "action_id" : "b99af64eb3e1813b9a5eb259cf5390a0", "serverIp" : "127.0.0.1", "dev_model" : "iPhone Simulator"}
2017-06-21 10:10:56.390 KSYPlayerDemo[27059:77277] player finish state: 0
2017-06-21 10:10:56.390 KSYPlayerDemo[27059:77277] player download flow size: 0.000000 MB
2017-06-21 10:10:56.390 KSYPlayerDemo[27059:77277] buffer monitor result:
empty count: 0, lasting: 0.000000 seconds
m3u8是这种格式
#EXTM3U
#EXT-X-TARGETDURATION:15
#EXT-X-DISCONTINUITY
#EXTINF:14,
0.ts
#EXTINF:7,
1.ts
#EXTINF:13,
2.ts
#EXT-X-ENDLIST
这个ts 其实就是flv 每个flv 文件都是完整的一个flv 文件 有标准头部 谢谢了
from ksymediaplayer_ios.
m3u8不支持flv格式的切片,暂时不支持,以后可能也不会支持
from ksymediaplayer_ios.
Related Issues (20)
- EAGLSharegroup 问题
- 支持播放加密的m3u8吗?
- 如何获取播放器的码率?
- 播放h265的m3ub只出拖动位置的第一帧图
- 求支持一下最新的macOS 10.15
- h265无法出图,有声音,这个能否解决
- 播放器在使用点播功能的时候,监听MPMoviePlayerPlaybackDidFinishNotification没有收到这个通知
- 关于跟项目里的ffmpeg冲突的问题 HOT 2
- UIWebView警告 HOT 6
- 我怎么也下载不了,下载了半天了 老是中断了 HOT 2
- missing required architecture x86_64 in file ||Undefined symbols for architecture x86_64: HOT 5
- 无法播放rtmp直播流,好像ssl证书不行 HOT 1
- Can you please help me?
- 求发布一个新release,包含移除UIWebView的那次commit
- libstdc++.6.dylib HOT 2
- 最新的release_3.0.4版本SDK检测含有UIWebview,怎么处理 HOT 3
- xcframework Mac Catalyst iPad转Mac编译报错
- 关于点播视频预缓存
- Ss
- 私有api被拒 CMTimebaseCreateWithMasterClock HOT 1
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 ksymediaplayer_ios.