手机 ios13 safari浏览器http-flv 播放不出来
Opened this issue · 1 comments
手机 ios13 safari 浏览器http-flv 播放不出来,控制台日志并没有错误。请问有什么解决办法?
电脑chrome下播放没问题
日志如下:
[Log] [2020-3-18 21:35:44:730][Decoder][IF] Wasm loaded. (common.js, line 62)
[Log] [2020-3-18 21:35:58:223][Player][IF] Play http://1011.hlsplay.aodianyun.com/demo/game.flv (common.js, line 62)
[Log] [2020-3-18 21:35:58:277][Player][IF] Got file size rsp:200 size:-1 byte. (common.js, line 62)
[Log] [2020-3-18 21:35:58:277][Player][IF] Initializing decoder. (common.js, line 62)
[Log] [2020-3-18 21:35:58.278][Core][DT] Decoder initialized 0. (libffmpeg.js, line 1)
[Log] [2020-3-18 21:35:58:284][Decoder][IF] initDecoder return 0. (common.js, line 62)
[Log] [2020-3-18 21:35:58:295][Player][IF] Init decoder response 0. (common.js, line 62)
[Log] [2020-3-18 21:36:5:349][Player][IF] Opening decoder. (common.js, line 62)
[Log] [2020-3-18 21:36:5.350][Core][DT] Opening decoder. (libffmpeg.js, line 1)
[Log] [2020-3-18 21:36:5.357][Core][DT] avformat_open_input success. (libffmpeg.js, line 1)
[Log] [2020-3-18 21:36:5.424][Core][DT] avformat_find_stream_info success. (libffmpeg.js, line 1)
[Log] [2020-3-18 21:36:5.425][Core][DT] Open video codec context success, video stream index 1 dca180. (libffmpeg.js, line 1)
[Log] [2020-3-18 21:36:5.425][Core][DT] Video stream index:1 pix_fmt:0 resolution:1280720. (libffmpeg.js, line 1)
[Log] [2020-3-18 21:36:5.426][Core][DT] Open audio codec context success, audio stream index 0 a42c90. (libffmpeg.js, line 1)
[Log] [2020-3-18 21:36:5.436][Core][DT] Audio stream index:0 sample_fmt:8 channel:2, sample rate:44100. (libffmpeg.js, line 1)
[Log] [2020-3-18 21:36:5.438][Core][DT] Decoder opened, duration 5s, picture size 1382400. (libffmpeg.js, line 1)
[Log] [2020-3-18 21:36:5:439][Decoder][IF] openDecoder return 0 (common.js, line 62)
[Log] [2020-3-18 21:36:5:440][Player][IF] Open decoder response 0. (common.js, line 62)
[Log] [2020-3-18 21:36:5:441][Player][IF] Video param duation:5 pixFmt:0 width:1280 height:720. (common.js, line 62)
[Log] [2020-3-18 21:36:5:441][Player][IF] Seek wait len -400 (common.js, line 62)
[Log] [2020-3-18 21:36:5:441][Player][IF] Byte rate:-200 target speed:-400 chunk interval:-163840. (common.js, line 62)
[Log] [2020-3-18 21:36:5:441][Player][IF] Audio param sampleFmt:3 channels:2 sampleRate:44100. (common.js, line 62)
[Log] [2020-3-18 21:36:5:441][Player][IF] Audio encoding 32bitFloat. (common.js, line 62)
[Log] [2020-3-18 21:36:5:542][Player][IF] Decoder ready now. (common.js, line 62)
[Log] [2020-3-18 21:36:5.551][Core][DT] Initial PCM buffer size 131072. (libffmpeg.js, line 1)
[Log] [2020-3-18 21:36:14.649][Core][DT] Fifo size growed to 2097152. (libffmpeg.js, line 1)
[Log] [2020-3-18 21:36:26.191][Core][DT] Fifo size growed to 4194304. (libffmpeg.js, line 1)
[Log] [2020-3-18 21:36:50.112][Core][DT] Fifo size growed to 8388608. (libffmpeg.js, line 1)
[Log] [2020-3-18 21:37:37.56][Core][DT] Fifo size growed to 16777216. (libffmpeg.js, line 1)
[Log] [2020-3-18 21:37:37.57][Core][DT] [Warn] Fifo size larger than 16777216. (libffmpeg.js, line 1)
[Log] [2020-3-18 21:38:49:79][Player][IF] Stop in stream pause. (common.js, line 62)
[Log] [2020-3-18 21:38:54:659][Player][IF] Stop. (common.js, line 62)
[Log] [2020-3-18 21:38:54:660][Player][IF] Pcm player released. (common.js, line 62)
[Log] [2020-3-18 21:38:54:661][Player][IF] Closing decoder. (common.js, line 62)
[Log] [2020-3-18 21:38:54:661][Player][IF] Uniniting decoder. (common.js, line 62)
[Log] [2020-3-18 21:38:54:663][Decoder][IF] closeDecoder. (common.js, line 62)
[Log] [2020-3-18 21:38:54.665][Core][DT] Video codec context closed. (libffmpeg.js, line 1)
[Log] [2020-3-18 21:38:54.665][Core][DT] Audio codec context closed. (libffmpeg.js, line 1)
[Log] [2020-3-18 21:38:54.667][Core][DT] IO context released. (libffmpeg.js, line 1)
[Log] [2020-3-18 21:38:54.669][Core][DT] Input closed. (libffmpeg.js, line 1)
[Log] [2020-3-18 21:38:54.669][Core][DT] All buffer released. (libffmpeg.js, line 1)
[Log] [2020-3-18 21:38:54:692][Decoder][IF] Close ffmpeg decoder return 0. (common.js, line 62)
[Log] [2020-3-18 21:38:54.693][Core][DT] Decoder uninitialized. (libffmpeg.js, line 1)
[Log] [2020-3-18 21:38:54:693][Decoder][IF] Uninit ffmpeg decoder return 0. (common.js, line 62)
[Log] [2020-3-18 21:38:54:774][Player][IF] Play in stream resume. (common.js, line 62)
[Log] [2020-3-18 21:38:54:774][Player][IF] Play http://183.47.13.164:1971/live/test.flv. (common.js, line 62)
[Log] [2020-3-18 21:38:54:783][Player][IF] Got file size rsp:200 size:-1 byte. (common.js, line 62)
[Log] [2020-3-18 21:38:54:783][Player][IF] Initializing decoder. (common.js, line 62)
[Log] [2020-3-18 21:38:54.783][Core][DT] Decoder initialized 0. (libffmpeg.js, line 1)
[Log] [2020-3-18 21:38:54:784][Decoder][IF] initDecoder return 0. (common.js, line 62)
[Log] [2020-3-18 21:38:54:799][Player][IF] Init decoder response 0. (common.js, line 62)
[Log] [2020-3-18 21:39:1:432][Player][IF] Opening decoder. (common.js, line 62)
[Log] [2020-3-18 21:39:1.433][Core][DT] Opening decoder. (libffmpeg.js, line 1)
[Log] [2020-3-18 21:39:1.437][Core][DT] avformat_open_input success. (libffmpeg.js, line 1)
[Log] [2020-3-18 21:39:1.502][Core][DT] avformat_find_stream_info success. (libffmpeg.js, line 1)
[Log] [2020-3-18 21:39:1.503][Core][DT] Open video codec context success, video stream index 1 dd0e60. (libffmpeg.js, line 1)
[Log] [2020-3-18 21:39:1.503][Core][DT] Video stream index:1 pix_fmt:0 resolution:1280720. (libffmpeg.js, line 1)
[Log] [2020-3-18 21:39:1.503][Core][DT] Open audio codec context success, audio stream index 0 9fe6e0. (libffmpeg.js, line 1)
[Log] [2020-3-18 21:39:1.504][Core][DT] Audio stream index:0 sample_fmt:8 channel:2, sample rate:44100. (libffmpeg.js, line 1)
[Log] [2020-3-18 21:39:1.506][Core][DT] Decoder opened, duration 5s, picture size 1382400. (libffmpeg.js, line 1)
[Log] [2020-3-18 21:39:1:507][Decoder][IF] openDecoder return 0 (common.js, line 62)
[Log] [2020-3-18 21:39:1:508][Player][IF] Open decoder response 0. (common.js, line 62)
[Log] [2020-3-18 21:39:1:508][Player][IF] Video param duation:5 pixFmt:0 width:1280 height:720. (common.js, line 62)
[Log] [2020-3-18 21:39:1:508][Player][IF] Seek wait len -400 (common.js, line 62)
[Log] [2020-3-18 21:39:1:508][Player][IF] Byte rate:-200 target speed:-400 chunk interval:-163840. (common.js, line 62)
[Log] [2020-3-18 21:39:1:508][Player][IF] Audio param sampleFmt:3 channels:2 sampleRate:44100. (common.js, line 62)
[Log] [2020-3-18 21:39:1:508][Player][IF] Audio encoding 32bitFloat. (common.js, line 62)
[Log] [2020-3-18 21:39:1:533][Player][IF] Decoder ready now. (common.js, line 62)
[Log] [2020-3-18 21:39:1.541][Core][DT] Initial PCM buffer size 131072. (libffmpeg.js, line 1)
[Log] [2020-3-18 21:39:4:241][Player][IF] Stop in stream pause. (common.js, line 62)
[Log] [2020-3-18 21:39:4:241][Player][IF] Stop. (common.js, line 62)
[Log] [2020-3-18 21:39:4:242][Player][IF] Pcm player released. (common.js, line 62)
[Log] [2020-3-18 21:39:4:243][Player][IF] Closing decoder. (common.js, line 62)
[Log] [2020-3-18 21:39:4:243][Player][IF] Uniniting decoder. (common.js, line 62)
[Log] [2020-3-18 21:39:4:243][Decoder][IF] closeDecoder. (common.js, line 62)
[Log] [2020-3-18 21:39:4.245][Core][DT] Video codec context closed. (libffmpeg.js, line 1)
[Log] [2020-3-18 21:39:4.245][Core][DT] Audio codec context closed. (libffmpeg.js, line 1)
[Log] [2020-3-18 21:39:4.245][Core][DT] IO context released. (libffmpeg.js, line 1)
[Log] [2020-3-18 21:39:4.247][Core][DT] Input closed. (libffmpeg.js, line 1)
[Log] [2020-3-18 21:39:4.247][Core][DT] All buffer released. (libffmpeg.js, line 1)
[Log] [2020-3-18 21:39:4:247][Decoder][IF] Close ffmpeg decoder return 0. (common.js, line 62)
[Log] [2020-3-18 21:39:4.248][Core][DT] Decoder uninitialized. (libffmpeg.js, line 1)
[Log] [2020-3-18 21:39:4:251][Decoder][IF] Uninit ffmpeg decoder return 0. (common.js, line 62)
I had the same problem. Is there iOS support?