Code Monkey home page Code Monkey logo

klive's Introduction

介绍:

基于Qt QML的聚合直播盒子,实现了 采集,播放,用户注册,用户充值,到期续费,上滑下滑切换主播,主播下线自动跳过,
自动在房间的第一个位置生成下载二唯码,添加屏蔽主播列表 等功能,用户充值用的是微信监听方式,无需申请官方认证,
已在Mac,ios,Android下测试适配
交流群:93525134

重要声明:

本程序中所演示的视频内容均来自第三方群内共享与本人无关,请慎重使用,或替换为您自己的播放源
本程序只限于学习交流使用,请大家不要干坏事! 还有大家注意身体呀!!!!! 哈哈哈

播放源替换:

在Platfrom目录下新建一个类,继承自Platfrom类,实现其中的两个方法并抛出信号即可

public slots:
virtual void getRoomList() = 0;   //获取房间列表
virtual void getRoomItem(QString address) = 0;  //获取主播列表

signals:
void sig_GetRoomFinish(QList<PlatfromInfo> infolist); //获取房间完成信号
void sig_GetRoomItemFinish(QList<PlatfromItem> itemlist);//获取主播列表完成信号

编译依赖:

QtAV : 须自行下载安装 https://github.com/wang-bin/QtAV.git

程序部署:

A. 下载Qt SDK并安装QtAV播放库,搭建Mysql及PHP环境
B. 新建一个数据库Klive,并导入DATA目录下的SQL文件
C. 将Web目录下的所有文件放到PHP环境下
D. 运行程序,完成部署

目录结构:

├── AppUpdate   //应用更新
│
├── Crypto	//加密解密
│
├── DATA	//数据库脚本
│
├── Global	//公共类
│
├── GlobalQml	//QML组件
│
├── HomePage	//主页QML
│
├── Model	//数据模型
│
├── NetWork	//网络相关
│
├── Pay		//支付相关
│
├── Platfrom	//直播源
│
├── QZXing	//二唯码生成
│
├── Res		//图片资源
│
├── UserPage	//用户页QML
│
├── Web		//PHP接口源码
│
├── android	//Android适配文件
│
├── img		//程序截图

运行截图

图片

图片

图片

图片

图片

图片

klive's People

Contributors

32ns 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.