Giter Club home page Giter Club logo

flutter_movie's Introduction

用flutter开发的app,用于和异地恋女友一起看电影

本来是使用微光的,但是体验特别不好。

  • 微光上资源比较少,如果想上传资源还得去申请资质,很麻烦
  • 微光不能播放本地视频
  • 微光上两个人视频播放经常不能同步,就是一个人会快几秒,一个人慢几秒 我预估是如果是播放网络视频,自己用flutter播放的时候也会存在这个问题,毕竟两个人网络环境不同,硬件解码能力不同,而且还要去研究怎样边下边播, 所以把重点放在了播放本地视频上,这样就解决了网络下载问题,直接两个人下载好,然后使用App来搜索本地视频,进入房间之后,一人点击播放,零一人也 开始播放,点击同步按钮,同步两人播放进度。使用websocket协议来进行同步

参考资料

websocket 端口地址 118.24.126.15:8226/ws

{
"room": "123",
"type": "1",
"username": "username",
"message": "message"
}

状态管理provider

flutter_movie's People

Contributors

rowgergo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

ruan115 li-xingyu

flutter_movie's Issues

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.