Skip to content

一个视频,多个视频片段问题 #64

@zhan2046

Description

@zhan2046

我看到这几行代码:
private void initIJKPlayer(Message msg) { mediaPlayer = new IjkMediaPlayer(); mediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC); try { mediaPlayer.setDataSource(((GSYModel) msg.obj).getUrl(), ((GSYModel) msg.obj).getMapHeadData()); } catch (IOException e) { e.printStackTrace(); } }

目前只支持网络url吗?
我现在遇到一个url返回多个视频片段,我需要手动拼成m3u8文件,然后怎么样才能播放呢

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions