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