Git Product home page Git Product logo

video-live's Introduction

#斗鱼官方获取直播源地址API加密算法更新了,需重新下载代码编译/apk安装,才能观看视频

#video-live

###项目介绍 视频直播源从斗鱼接口抓取,直播源分析来自斗鱼API,斗鱼弹幕提供官方API,具体实现是从斗鱼官网提供的java版本修改得到(TextUtils替换StringUtils、添加弹幕消息处理接口),视频播放器使用vitamio,弹幕实现使用弹幕烈焰使点击此处下载apk安装文件


#ScreenShot ####播放页面 image

####首页 image

####分类 image

####收藏 image


###项目构建(android studio)

  1. 下载本项目vitamio源码(选择android版本)并解压
  2. 打开已存在项目,选择本项目解压后的文件夹
  3. 添加vitamio模块,File->New->Import Module,选择vitamio源码路径,此时报错找不到ANDROID_BUILD_SDK_VERSION,对照项目app修改为对应版本即可
    android {
        compileSdkVersion Integer.parseInt(project.ANDROID_BUILD_SDK_VERSION)
        buildToolsVersion project.ANDROID_BUILD_TOOLS_VERSION
        defaultConfig {
        minSdkVersion Integer.parseInt(project.ANDROID_BUILD_MIN_SDK_VERSION)
        targetSdkVersion Integer.parseInt(project.ANDROID_BUILD_TARGET_SDK_VERSION)
    }

###功能

  • 斗鱼综合、dota2、LOL、炉石频道直播聚合
  • 对应房间弹幕显示
  • 输入关键字搜索房间

###具体功能

  • 直播页面——下拉刷新&上拉加载更多,返回20条直播页面信息,点击进入指定房间开始视频直播,显示弹幕
  • 收藏感兴趣房间

###TODO

  • 引入mvp框架

###依赖

    dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    testCompile 'junit:junit:4.12'
    compile project(path: ':InitActivity')
    compile 'com.android.support:appcompat-v7:23.4.0'
    compile 'in.srain.cube:ultra-ptr:1.0.11'
    compile 'com.mcxiaoke.volley:library:1.0.19'
    compile 'com.astuetz:pagerslidingtabstrip:1.0.1'
    compile 'com.google.code.gson:gson:2.6.2'
    compile 'com.android.support:cardview-v7:23.4.0'
    compile 'com.android.support:recyclerview-v7:23.4.0'
    compile 'com.github.ctiao:DanmakuFlameMaster:0.4.6'
    compile 'com.android.support:support-v4:23.4.0'
    compile 'de.hdodenhof:circleimageview:2.0.0'
    compile 'com.android.support:design:23.4.0'
    compile 'com.rengwuxian.materialedittext:library:2.1.4'
}

###BUG


###联系方式

video-live's People

Contributors

littlemeng avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.