Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
282790ead5
@ -287,6 +287,7 @@ public class LivePlayRyViewHolder extends LiveRoomPlayViewHolder {
|
|||||||
public void play(String url, int playModel) {
|
public void play(String url, int playModel) {
|
||||||
srcUrl = url;
|
srcUrl = url;
|
||||||
PLAY_MODEL = playModel;
|
PLAY_MODEL = playModel;
|
||||||
|
waitNextUrl = null;
|
||||||
Log.i(TAG, "play" + " url:" + url + " playModel: " + playModel + " landscape: " + landscape + " videoLandscape" + videoLandscape);
|
Log.i(TAG, "play" + " url:" + url + " playModel: " + playModel + " landscape: " + landscape + " videoLandscape" + videoLandscape);
|
||||||
if (playModel != PLAY_MODEL_DEF && !url.contains(videoFps[0] + ".flv")) {
|
if (playModel != PLAY_MODEL_DEF && !url.contains(videoFps[0] + ".flv")) {
|
||||||
mPlayer.setViewResizeMode(landscape == VIDEO_VERTICAL);
|
mPlayer.setViewResizeMode(landscape == VIDEO_VERTICAL);
|
||||||
@ -679,7 +680,7 @@ public class LivePlayRyViewHolder extends LiveRoomPlayViewHolder {
|
|||||||
@Subscribe(threadMode = ThreadMode.MAIN)
|
@Subscribe(threadMode = ThreadMode.MAIN)
|
||||||
public void onUpdata(String str) {
|
public void onUpdata(String str) {
|
||||||
if ("UsertoRY".equals(str)) {
|
if ("UsertoRY".equals(str)) {
|
||||||
DialogUitl.showSimpleDialog(mContext,mContext.getString(R.string.mic_tag), new DialogUitl.SimpleCallback() {
|
DialogUitl.showSimpleDialog(mContext, mContext.getString(R.string.mic_tag), new DialogUitl.SimpleCallback() {
|
||||||
@Override
|
@Override
|
||||||
public void onConfirmClick(Dialog dialog, String content) {
|
public void onConfirmClick(Dialog dialog, String content) {
|
||||||
UsertoRY();
|
UsertoRY();
|
||||||
@ -875,13 +876,13 @@ public class LivePlayRyViewHolder extends LiveRoomPlayViewHolder {
|
|||||||
.asCustom(liveClarityCustomPopup)
|
.asCustom(liveClarityCustomPopup)
|
||||||
.show();
|
.show();
|
||||||
} else if (event.getType() == LiveAudienceEvent.LiveAudienceType.FONT_SIZE) {
|
} else if (event.getType() == LiveAudienceEvent.LiveAudienceType.FONT_SIZE) {
|
||||||
int fount=0;
|
int fount = 0;
|
||||||
try {
|
try {
|
||||||
fount=Integer.parseInt(SpUtil.getStringValue("pd_live_room_fount_size"));
|
fount = Integer.parseInt(SpUtil.getStringValue("pd_live_room_fount_size"));
|
||||||
}catch (Exception ignored){
|
} catch (Exception ignored) {
|
||||||
|
|
||||||
}
|
}
|
||||||
new LiveFontSizeSettingDialog(mContext,fount).setOnItemClickListener(new OnItemClickListener<Integer>() {
|
new LiveFontSizeSettingDialog(mContext, fount).setOnItemClickListener(new OnItemClickListener<Integer>() {
|
||||||
@Override
|
@Override
|
||||||
public void onItemClick(Integer bean, int position) {
|
public void onItemClick(Integer bean, int position) {
|
||||||
EventBus.getDefault().post(new LiveAudienceEvent()
|
EventBus.getDefault().post(new LiveAudienceEvent()
|
||||||
|
Loading…
Reference in New Issue
Block a user