Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sivagao/h5-tvshow
control tv by phone~
https://github.com/sivagao/h5-tvshow
Last synced: 23 days ago
JSON representation
control tv by phone~
- Host: GitHub
- URL: https://github.com/sivagao/h5-tvshow
- Owner: sivagao
- Created: 2014-11-07T17:35:06.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-11-07T17:42:22.000Z (about 10 years ago)
- Last Synced: 2024-10-14T11:11:13.386Z (2 months ago)
- Size: 97.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
control tv show by phone app
tv 访问 地址(BE 生成随机码的二维码照片给它,区别 socket.io 连通)
手机 scan 二维码发送给 BE, BE 查找到目标 device socket.io resure
- 两者联通手机开始浏览资源
(豌豆荚 oscar api)
选择电影,获得影片地址,发送给 BE
BE 转发给 tvtv
h5 播放器手机手势监听
(播放,暂停,快进,聊天,评论等)tv
监听手势动作来响应其他扩展 -
如何展示手机里的歌曲,照片等?! 短距离传送(红外,蓝牙?!)
快速连接(建立 socketId 和 deviceId 关系 )socket.io 状态机设置
```
sync - 是否断开 心跳保持connection negotiating
确定转发关系(A-B connnecting)gateway -》 根据 user-agent 自动跳转
gateway/phone
scanner页面
1 -connect:
gateway/tv
二维码页面
2 -connected:
choose film
browser/
phone 浏览页面等
1 -play:
waiting/
tv 等待页面
2 -played:看片控制
controller/
phone 控制器页面
- pause
- play
- go-progress -> 拖拽改变进度条
- back
- go-volume
- synced-progress -> 动态改变进度条
- 截图分享(tv 截图通过中转到手机上,发朋友圈~)
player/xxx
tv 播放页面
- goed-volume
- goed-progress -> 改变播放进度
- sync-progress -> 同步播放进度```
Todo:
https://github.com/soldair/node-qrcode
https://github.com/videojs/video.js
播放器:
被调起来(传入 url)
play/pause/goTo进度设置查询/volume 设置查询/截图 base64