public abstract class AudioLiveVcallControl extends BaseVcallControl
限定符和类型 | 类和说明 |
---|---|
static interface |
AudioLiveVcallControl.OutLineResultCallBack |
BaseVcallControl.GiftVcallHostCallback, BaseVcallControl.IVcallUpLiveCallBack, BaseVcallControl.VCALL_NINE_TYPE
限定符和类型 | 字段和说明 |
---|---|
static int |
AUDIO_AUDIO_ROOM |
static int |
AUDIO_GROUP |
protected java.lang.Runnable |
heartRunnable |
static int |
HOST_INDEX |
protected boolean |
isEnable |
protected boolean |
isHost |
protected android.app.Activity |
mActivity |
protected com.app.live.audio.IGroupAudioVcallCallback |
mCallback |
protected int |
mChatIMType |
protected java.lang.String |
mChatRoomId |
protected java.lang.String |
mGroupId |
protected android.os.Handler |
mHandler |
protected int |
mHeartInternal |
protected boolean |
mInitFinish |
protected boolean |
mIsAudioMsgPlaying |
protected boolean |
mIsMute |
protected long |
mMyOperateTime |
protected int |
mMyVcallPosition |
protected long |
mOnlineConfirmTime |
protected int |
mRole |
protected java.lang.String |
mRoomId |
protected java.util.ArrayList<com.app.letter.vcall.GroupAudioUser> |
mVcallUserList |
protected int |
roomType |
static java.lang.String |
TAG |
static int |
USER_MAX_NUM |
static int |
VCALL_LIVE_MUSIC |
protected int |
webGameType |
mHostVcallHintManage, mIVcallCallBack, mNineLiveType, mRecordClient, mVcallRootView, mVid, mVideoDataInfo
构造器和说明 |
---|
AudioLiveVcallControl() |
限定符和类型 | 方法和说明 |
---|---|
protected abstract void |
cancelDialog()
关闭点击弹窗,如果别人操作我,这时候正好我的弹窗弹起,关闭弹窗。
|
protected abstract void |
cancelDialogByUid(java.lang.String uid)
关闭点击弹窗,如果别人操作A,这时候正好也操作A,关闭弹窗。
|
void |
destroyVcall() |
protected void |
doAction(java.lang.String action,
int reason) |
protected abstract void |
getDadaSuccess(java.lang.String chatRoomId)
加入聊天室,针对于家族用的
|
protected com.app.live.audio.IGroupAudioVcallCallback |
getmCallback() |
void |
getPermissionAndOnLine() |
java.util.ArrayList<com.app.letter.vcall.GroupAudioUser> |
getVcallUserList() |
protected boolean |
hasAccessOper(int position) |
void |
hintVcallView(boolean isShow) |
protected abstract void |
initAudioLive(java.lang.String roomid)
初始化zego 的东西,如果有就不需要了
|
void |
initVcall() |
void |
initView(android.view.ViewGroup rootView) |
protected void |
internalRealStartBeam(int position) |
protected void |
internalRealStopBeam(int position) |
protected boolean |
isActivityValid() |
boolean |
ismInitFinish() |
protected boolean |
isOtherVcalling(int position) |
protected boolean |
isPositionValid(int position) |
protected boolean |
isValidOperateByServer(long ts,
int reason) |
protected com.app.letter.vcall.GroupAudioUser |
isVcallByUid(java.lang.String uid) |
boolean |
isVcalling() |
static void |
log(java.lang.String s,
boolean isFile) |
protected void |
mute(boolean isclose) |
protected abstract void |
onIndexHasUser(int position,
boolean isGameStart)
点击事件,如果点击的位置有人的处理
|
protected void |
onInternalItemClick(int position,
boolean isGameStart,
boolean isRequestPermission)
点击位置判断是否可以上麦,如果可以直接上麦
|
protected abstract void |
onIsVcallIngToast() |
void |
onMembersRoleChange(com.app.letter.message.rong.notification.AdminManageMsgContent msgContent) |
void |
onPlayerAudioMsg(boolean isPlaying) |
protected void |
onQuitClick(java.lang.String uid,
int position) |
protected void |
onUseronLine(com.app.letter.vcall.GroupAudioUser mNewUser) |
void |
openVcallTalkPage() |
void |
releaseVcallView(android.view.ViewGroup rootView) |
protected void |
remoteAudioVolume(java.lang.String uid,
int volume,
int baseLine) |
protected void |
sendHeartBeatMessage(int position) |
protected void |
sendMuteMessage(java.lang.String uid,
int position) |
protected void |
sendOnlineConfirmMessage(int position) |
protected void |
sendOnlineMessage(int position) |
protected void |
sendOutlineMessage(java.lang.String uid,
int position,
boolean isSendMsg,
AudioLiveVcallControl.OutLineResultCallBack outLineResultCallBack) |
protected void |
sendUnMuteMessage(java.lang.String uid,
int position) |
protected abstract void |
setAdapter(int index,
com.app.letter.vcall.GroupAudioUser item)
增加数据,有人上麦或者下麦 ,增加数据
|
void |
setAudioData(GroupAudioBeamListMessage.Result r) |
protected void |
setCanSpeaker(boolean canSpeaker) |
void |
setmCallback(com.app.live.audio.IGroupAudioVcallCallback mCallback) |
void |
setMsg(GroupAudioOperMsgContent message) |
protected void |
startBeam() |
protected void |
stopBeam() |
void |
stopMyself()
停止自己推流
|
protected abstract void |
updateAdapterData(int position,
com.app.letter.vcall.GroupAudioUser user)
更新列表,有人上麦或下麦,位置和用户信息
|
protected abstract void |
updateAudioMode(int mode)
更新语音房模式
|
protected void |
updateBeamList(java.util.ArrayList<com.app.letter.vcall.GroupAudioUser> list) |
protected abstract void |
updateMuteStatus(java.lang.String uid,
int muteLimit,
boolean mute)
更新某人的声音
|
protected abstract void |
userVcallStart()
有人上麦了
|
getmVid, getmVideoDataInfo, linkUser, log, logToFile, onConfigurationChanged, setIVcallCallBack, setmVid, setParentVisible, setRecordClient, setVcallHintManager, switchNineVcallType, upDataHostKCoin, vcallTimeOut
public static java.lang.String TAG
public static int USER_MAX_NUM
public static int HOST_INDEX
protected java.util.ArrayList<com.app.letter.vcall.GroupAudioUser> mVcallUserList
protected boolean isHost
public static int VCALL_LIVE_MUSIC
public static int AUDIO_AUDIO_ROOM
public static int AUDIO_GROUP
protected android.app.Activity mActivity
protected java.lang.String mGroupId
protected java.lang.String mRoomId
protected java.lang.String mChatRoomId
protected int mChatIMType
protected int mRole
protected int mHeartInternal
protected boolean mInitFinish
protected long mMyOperateTime
protected long mOnlineConfirmTime
protected boolean mIsAudioMsgPlaying
protected boolean mIsMute
protected android.os.Handler mHandler
protected boolean isEnable
protected int mMyVcallPosition
protected int roomType
protected int webGameType
protected java.lang.Runnable heartRunnable
protected com.app.live.audio.IGroupAudioVcallCallback mCallback
public void initView(android.view.ViewGroup rootView)
initView
在类中 BaseVcallControl
public void initVcall()
initVcall
在类中 BaseVcallControl
public void destroyVcall()
destroyVcall
在类中 BaseVcallControl
public void releaseVcallView(android.view.ViewGroup rootView)
releaseVcallView
在类中 BaseVcallControl
public void hintVcallView(boolean isShow)
hintVcallView
在类中 BaseVcallControl
public void openVcallTalkPage()
openVcallTalkPage
在类中 BaseVcallControl
public void onMembersRoleChange(com.app.letter.message.rong.notification.AdminManageMsgContent msgContent)
protected abstract void cancelDialog()
protected abstract void cancelDialogByUid(java.lang.String uid)
protected abstract void userVcallStart()
protected abstract void updateAdapterData(int position, com.app.letter.vcall.GroupAudioUser user)
protected abstract void setAdapter(int index, com.app.letter.vcall.GroupAudioUser item)
protected abstract void onIndexHasUser(int position, boolean isGameStart)
protected abstract void updateMuteStatus(java.lang.String uid, int muteLimit, boolean mute)
protected abstract void initAudioLive(java.lang.String roomid)
protected abstract void getDadaSuccess(java.lang.String chatRoomId)
chatRoomId
- protected abstract void updateAudioMode(int mode)
mode
- public void setMsg(GroupAudioOperMsgContent message)
protected void onUseronLine(com.app.letter.vcall.GroupAudioUser mNewUser)
public boolean isVcalling()
protected void updateBeamList(java.util.ArrayList<com.app.letter.vcall.GroupAudioUser> list)
public void setAudioData(GroupAudioBeamListMessage.Result r)
protected boolean isOtherVcalling(int position)
protected boolean isPositionValid(int position)
protected boolean isActivityValid()
protected boolean hasAccessOper(int position)
protected void internalRealStartBeam(int position)
protected void startBeam()
protected void stopBeam()
protected void mute(boolean isclose)
protected void setCanSpeaker(boolean canSpeaker)
public void onPlayerAudioMsg(boolean isPlaying)
protected void remoteAudioVolume(java.lang.String uid, int volume, int baseLine)
public void stopMyself()
protected void sendOnlineMessage(int position)
public void getPermissionAndOnLine()
protected void onInternalItemClick(int position, boolean isGameStart, boolean isRequestPermission)
position
- protected abstract void onIsVcallIngToast()
protected void onQuitClick(java.lang.String uid, int position)
protected void sendOutlineMessage(java.lang.String uid, int position, boolean isSendMsg, AudioLiveVcallControl.OutLineResultCallBack outLineResultCallBack)
protected void sendOnlineConfirmMessage(int position)
protected void sendHeartBeatMessage(int position)
protected void sendMuteMessage(java.lang.String uid, int position)
protected void sendUnMuteMessage(java.lang.String uid, int position)
protected boolean isValidOperateByServer(long ts, int reason)
protected void doAction(java.lang.String action, int reason)
protected void internalRealStopBeam(int position)
public boolean ismInitFinish()
protected com.app.live.audio.IGroupAudioVcallCallback getmCallback()
public void setmCallback(com.app.live.audio.IGroupAudioVcallCallback mCallback)
public static void log(java.lang.String s, boolean isFile)
protected com.app.letter.vcall.GroupAudioUser isVcallByUid(java.lang.String uid)
public java.util.ArrayList<com.app.letter.vcall.GroupAudioUser> getVcallUserList()