调整播放器默认流不拼接参数
This commit is contained in:
parent
182e46799a
commit
cf85870810
@ -39,10 +39,10 @@ public class LiveExoPlayerManager {
|
|||||||
public LiveExoPlayerManager(Context mContext) {
|
public LiveExoPlayerManager(Context mContext) {
|
||||||
this.mContext = mContext;
|
this.mContext = mContext;
|
||||||
DefaultLoadControl control = new DefaultLoadControl.Builder()
|
DefaultLoadControl control = new DefaultLoadControl.Builder()
|
||||||
.setPrioritizeTimeOverSizeThresholds(true)
|
.setPrioritizeTimeOverSizeThresholds(false)
|
||||||
.setBackBuffer(15_000, true)
|
.setBackBuffer(15_000, true)
|
||||||
.setBufferDurationsMs(100,
|
.setBufferDurationsMs(150,
|
||||||
15_000,
|
5_000,
|
||||||
50,
|
50,
|
||||||
100)
|
100)
|
||||||
.build();
|
.build();
|
||||||
|
@ -306,7 +306,7 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
|
|||||||
mLivePlayViewHolder.setLiveBean(mLiveBean);
|
mLivePlayViewHolder.setLiveBean(mLiveBean);
|
||||||
mLivePlayViewHolder.setCover(mLiveBean.getAvatar());
|
mLivePlayViewHolder.setCover(mLiveBean.getAvatar());
|
||||||
mLivePlayViewHolder.setLiveBeanLandscape(mLiveBean.getLandscape());
|
mLivePlayViewHolder.setLiveBeanLandscape(mLiveBean.getLandscape());
|
||||||
mLivePlayViewHolder.play(mLiveBean.getPull(), LiveRoomPlayViewHolder.PLAY_MODEL_720);
|
mLivePlayViewHolder.play(mLiveBean.getPull(), LiveRoomPlayViewHolder.PLAY_MODEL_DEF);
|
||||||
mLivePlayViewHolder.setOnMicCallback(new LiveRoomPlayViewHolder.OnMicCallback() {
|
mLivePlayViewHolder.setOnMicCallback(new LiveRoomPlayViewHolder.OnMicCallback() {
|
||||||
@Override
|
@Override
|
||||||
public void onMikUpdate() {
|
public void onMikUpdate() {
|
||||||
|
Loading…
Reference in New Issue
Block a user