Comments (12)
可以的,只能看熊猫是因为我写死了live_type = panda
public void getLiveList(int offset, int limit, String game_type) {
RetrofitHelper.getLiveHelper().create(LiveAPI.class)
.getLiveList(offset, limit, game_type, "panda")
.compose(RetrofitHelper.<List<LiveListItemBean>>handleLiveResult())
.subscribe(new HttpSubscriber<List<LiveListItemBean>>() {
@Override
public void _onNext(List<LiveListItemBean> roomBeanList) {
view.updateRecyclerView(roomBeanList);
}
@Override
public void _onError(String message) {
view.showError(message);
}
});
}
具体效果你可以下载Max+的App,我是抓他们的包来分析API的。所有直播平台都有,游戏类型只有5个
from c9mj.
改为getLiveList(offset, limit, game_type, "")就是全平台了
from c9mj.
全屏透明的话,我还未开发完全,后面再慢慢测试调试
from c9mj.
上班只能看一会儿,下好了准备回家看看,嘿嘿😁。
from c9mj.
还有些小问题的,就是我还没弄常亮。过段时间会变暗,最近在开发另外的模块
from c9mj.
加上屏幕常亮跟全平台直播了,之前看斗鱼的话会报403,现在不知道会不会了
from c9mj.
嗯,常亮的代码是在LivePlayActivity类里吗,找半天没找到啊。话说我自己发的檀木别人看不到的吧?
from c9mj.
常亮在onResume()跟onPause()里面,弹幕都是离线本地添加而已,没有发送数据包到服务器的。
from c9mj.
直播页面的indicator在0位置的时候,左滑会滑倒首页,这个有点懵逼....禁掉会不会好点
from c9mj.
看个人习惯吧,因为 我也是做个Demo练手而已,没考虑那么多。你自己改改吧
from c9mj.
看了你其他项目,刚毕业就这么牛逼,强了
from c9mj.
那些小demo就别说了,难度不大。现在才做个像样的而已。谢谢赞赏+_+
from c9mj.
Related Issues (15)
- 有问题! HOT 1
- 这些问题怎么解决啊 HOT 11
- 请问你怎么把流的截图当做封面的? HOT 4
- 斗鱼的视频地址失效了 HOT 1
- 打开直播时app闪退 HOT 1
- 内存泄漏比较多啊, HOT 1
- 想知道如何抓取到直播流的? HOT 5
- 怎么联系你 HOT 1
- 能打个包上来吗 HOT 1
- 导入后 不行啊 HOT 7
- 你的视频播放器用的哪个 HOT 1
- 刚开始进入时无法获得数据,必须刷新一下才会有数据显示 HOT 1
- 问一下,这个怎么解决? HOT 1
- Error:Unknown host '33506703799c.repository.bugly.qq.com'. You may need to adjust the proxy settings in Gradle. <a href="toggle.offline.mode">Enable Gradle 'offline mode' and sync project</a><br><a href="https://docs.gradle.org/current/userguide/userguide_single.html#sec:accessing_the_web_via_a_proxy">Learn about configuring HTTP proxies in Gradle</a> HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from c9mj.