Docs
Resources
Tools
News
to top
MtcCall

com.juphoon.lemon.MtcCall 类参考

详细描述

MtcCall 接口

静态 Public 成员函数

static int Mtc_SessCall (String pcUri, Object zCookie, boolean bAudio, boolean bVideo)
 MTC 呼叫,建立带有视频或音频的会话呼叫。 更多
 
static int Mtc_SessCallX (String pcUri, Object zCookie, boolean bAudio, boolean bVideo, boolean bSend, boolean bRecv)
 MTC 呼叫,建立有视频或音频的会话呼叫。 更多
 
static int Mtc_SessAlert (int dwSessId, Object zCookie, int dwType, boolean bReliable)
 MTC 会话提醒呼入会话。 更多
 
static int Mtc_SessAnswer (int dwSessId, Object zCookie, boolean bAudio, boolean bVideo)
 MTC 会话应答由 mtcCallCbIncoming 所设回调通知的呼入会话呼叫。 更多
 
static int Mtc_SessTerm (int dwSessId, int dwReason)
 MTC 会话终止。 更多
 
static int Mtc_SessHold (int dwSessId)
 MTC 会话保持。 更多
 
static int Mtc_SessUnhold (int dwSessId)
 MTC 会话取消保持。 更多
 
static int Mtc_SessUTrsf (int dwSessId, String pcUri)
 MTC 会话无人转发。 更多
 
static int Mtc_SessATrsf (int dwSessId, int dwTrsfSessId)
 MTC 会话参与转发。 更多
 
static int Mtc_SessDiv (int dwSessId, String pcUri)
 MTC 会话将转换由 mtcCallCbIncoming 所设的回调通知的呼入会话呼叫。 更多
 
static int Mtc_SessUpdate (int dwSessId, boolean bAudio, boolean bVideo)
 MTC 会话发送一个多媒体更新请求给对方。 此函数内的更新说明打开一个新媒体流或关闭已存在的 媒体流。 更多
 
static int Mtc_SessUpdateRsp (int dwSessId, boolean bAudio, boolean bVideo)
 MTC 会话应答对方发出的媒体更新请求。 此函数中的更新说明打开一个新的媒体流或关闭一个 已存在的媒体流。 更多
 
static int Mtc_SessPickUp (String pcUri, String pcReplaceInfo, Object zCookie, boolean bAudio, boolean bVideo)
 MTC PickUp, 通过取代特定会话建立带有视频或音频的 会话呼叫。 更多
 
static int Mtc_SessPickUpX (int dwSessId)
 MTC 会话 PickUp, 通过取代特定的呼叫建立带有视频或音频的会话呼叫。 更多
 
static int Mtc_SessDtmf (int dwSessId, int dwDtmfType)
 MTC 会话发送 DTMF 信息。 更多
 
static int Mtc_SessInfo (int dwSessId, String pcInfo)
 MTC 会话发送带有文本的 INFO。 更多
 
static int Mtc_SessPreviewSetArea (int dwSessId, Object dwHandle, short wX, short wY, int wWidth, int wHeight)
 MTC 会话设置预览区域。 更多
 
static int Mtc_SessPreviewShow (int dwSessId, boolean bShow)
 MTC 会话显示或隐藏预览图片。 更多
 
static int Mtc_SessCameraAttach (int dwSessId)
 MTC 会话附带摄像头。 更多
 
static int Mtc_SessCameraDetach (int dwSessId)
 MTC 会话没有摄像头。 更多
 
static int Mtc_SessRenderReset (int dwSessId)
 MTC 会话充塞远程图片的渲染区域设置。 更多
 
static int Mtc_SessRenderAdd (int dwSessId, Object dwHandle, short wX, short wY, int wWidth, int wHeight)
 MTC 会话设置远程图片的渲染区域。 更多
 
static int Mtc_SessRenderBuild (int dwSessId)
 MTC 会话建立渲染显示图片。 更多
 
static int Mtc_SessRenderRelease (int dwSessId)
 MTC 会话释放渲染显示图片。 更多
 
static int Mtc_SessVideoStop (int dwSessId)
 MTC 会话开始视频传输。 更多
 
static int Mtc_SessVideoResume (int dwSessId)
 MTC 会话暂停发送视频。 更多
 
static int Mtc_SessPartpGetIds (int dwSessId, MtcNumber piPartpIds, MtcNumber piPartpCnt)
 获取所有成员 ID。 更多
 
static int Mtc_SessPartpGetRtpInfo (int dwSessId, int iPartpId, MtcNumber piSsrc, MtcNumber piIp, MtcNumber pwPort)
 获取特定成员 ID 的 RTP。 更多
 
static int Mtc_SessPartpGetRenderArea (int dwSessId, MtcNumber piPartpIds, int iPartpCnt, MtcNumber piAreaIndexs)
 为每一位成员获取渲染区域索引。 更多
 
static int Mtc_SessPartpSetRenderArea (int dwSessId, MtcNumber piPartpIds, int iPartpCnt, MtcNumber piAreaIndexs)
 设置每一位用户的渲染区域索引。 更多
 
static int Mtc_SessGetVideoSize (int dwSessId, MtcNumber pdwWidth, MtcNumber pdwHeight)
 MTC 会话获取视频大小。 更多
 
static int Mtc_SessGetVideoRemoteSize (int dwSessId, MtcNumber pdwWidth, MtcNumber pdwHeight)
 MTC 会话获取远程视频大小。 更多
 
static int Mtc_SessGetVideoLocalSize (int dwSessId, MtcNumber pdwWidth, MtcNumber pdwHeight)
 MTC 会话获取本地视频大小。 更多
 
static boolean Mtc_SessHasVideo (int dwSessId)
 MTC 会话检查是否有活跃视频流。 更多
 
static boolean Mtc_SessHasAudio (int dwSessId)
 MTC 会话检查是否有活跃音频流。 更多
 
static boolean Mtc_SessHasTalk (int dwSessId)
 MTC 检查会话已经进入对话状态。 更多
 
static boolean Mtc_SessHasHold (int dwSessId)
 MTC 检查会话已经进入保持状态。 更多
 
static boolean Mtc_SessHasHeld (int dwSessId)
 MTC 检查会话已经进入被保持状态。 更多
 
static int Mtc_SessAudioLostRatio (int dwSessId)
 MTC 获取音频流中的百分比丢失率。 更多
 
static int Mtc_SessVideoLostRatio (int dwSessId)
 MTC 获取视频流中的百分比丢失率。 更多
 
static int Mtc_SessAudioLostCount (int dwSessId)
 MTC 获取音频流的丢失数量。 更多
 
static int Mtc_SessVideoLostCount (int dwSessId)
 MTC 获取视频流的丢失数量。 更多
 
static int Mtc_SessAudioRtt (int dwSessId)
 MTC 获取音频流往返一次时间。 更多
 
static int Mtc_SessVideoRtt (int dwSessId)
 MTC 获取视频流往返一次时间。 更多
 
static int Mtc_SessAudioJitter (int dwSessId)
 MTC 获取音频流震动。 更多
 
static int Mtc_SessVideoJitter (int dwSessId)
 MTC 获取视频流震动。 更多
 
static boolean Mtc_SessPeerOfferVideo (int dwSessId)
 MTC 会话检查对方是否提供视频流。 更多
 
static boolean Mtc_SessPeerOfferAudio (int dwSessId)
 MTC 会话检查对方是否提供音频流。 更多
 
static boolean Mtc_SessGetMicMute (int dwSessId)
 MTC 会话获取麦克风静音状态。 更多
 
static int Mtc_SessSetMicMute (int dwSessId, boolean bMute)
 MTC 会话设置麦克风静音状态。 更多
 
static float Mtc_SessGetMicScale (int dwSessId)
 MTC 会话获取麦克风范围。 更多
 
static int Mtc_SessSetMicScale (int dwSessId, float fScale)
 MTC 会话设置麦克风范围。 更多
 
static boolean Mtc_SessGetSpkMute (int dwSessId)
 MTC 会话获取扬声器静音状态。 更多
 
static int Mtc_SessSetSpkMute (int dwSessId, boolean bMute)
 MTC 会话设置扬声器静音状态。 更多
 
static float Mtc_SessGetSpkScale (int dwSessId)
 MTC 会话获取扬声器范围。 更多
 
static int Mtc_SessSetSpkScale (int dwSessId, float fScale)
 MTC 会话设置扬声器范围。 更多
 
static int Mtc_SessGetSpkVol (int dwSessId)
 MTC 会话获取扬声器音量。 更多
 
static int Mtc_SessSetSpkVol (int dwSessId, int iVol)
 MTC 会话设置扬声器音量。 更多
 
static boolean Mtc_SessGetMixVoice (int dwSessId)
 MTC 会话获取混音状态。 更多
 
static int Mtc_SessSetMixVoice (int dwSessId, boolean bEnable)
 MTC 会话设置混音状态。 更多
 
static int Mtc_SessRotateRemote (int dwSessId, int iOrientation)
 MTC 会话旋转远程图片方向。 更多
 
static int Mtc_SessRotateLocal (int dwSessId, int iOrientation)
 MTC 会话旋转本地图片方向。 更多
 
static Object Mtc_SessGetCookie (int dwSessId)
 MTC 会话获取 cookie 值。 更多
 
static int Mtc_SessSetCookie (int dwSessId, Object zCookie)
 MTC 会话设置 cookie 值。 更多
 
static int Mtc_SessGetCallId (int dwSessId, MtcString ppcCallId)
 MTC 会话获取呼叫-ID 字符串。 更多
 
static int Mtc_SessGetPeerUri (int dwSessId, MtcString ppcDispName, MtcString ppcUri)
 MTC 会话获取对方 URI 及显示名称。 更多
 
static int Mtc_SessGetPeerId (int dwSessId, MtcString ppcDispName, MtcString ppcUri)
 MTC 会话获取对方 ID,基于规则。 更多
 
static boolean Mtc_SessPeerIsFocus (int dwSessId)
 MTC 会话检查对方是否包含焦点参数。 更多
 
static boolean Mtc_SessHasOfferAnswer (int dwSessId)
 MTC 会话检查提供/应答交换是否完成。 更多
 
static int Mtc_SessGetAlertInfo (int dwSessId)
 MTC 会话获取提醒信息类型。 更多
 
static int Mtc_SessGetEarlyMediaStatus (int dwSessId, boolean bVideo)
 MTC 会话获取早期媒体状态。 更多
 
static int Mtc_SessRecMicStart (String pcFileName, short ucFileType)
 录制麦克风开始。 更多
 
static int Mtc_SessRecMicStop ()
 录制音频停止。 更多
 
static int Mtc_SessRecPlayStart (int dwSessId, String pcFileName, short ucFileType)
 MTC 会话录音播放。 更多
 
static int Mtc_SessRecCallStart (String pcFileName, short ucFileType)
 MTC 会话停止录制播放。 更多
 
static int Mtc_SessRecCallStop ()
 录音停止。 更多
 
static int Mtc_SessRecSndStart (int dwSessId, String pcFileName, short ucFileType, int dwRecMode)
 Mtc 会话开始录制声音。 更多
 
static int Mtc_SessRecSndStop (int dwSessId)
 Mtc 会话停止录制声音。 更多
 
static String Mtc_SessGetAudioStat (int dwSessId)
 Mtc 会话获取语音统计。 更多
 
static String Mtc_SessGetVideoStat (int dwSessId)
 Mtc 会话获取视频统计。 更多
 
static int Mtc_SessSetRxAgcEnable (int dwSessId, boolean bEnable)
 MTC 会话设置接收侧 AGC 状态。 更多
 
static int Mtc_SessGetRxAgcEnable (int dwSessId, MtcNumber pbEnable)
 MTC 会话获取接收侧 AGC 状态。 更多
 
static int Mtc_SessSetRxAgcMode (int dwSessId, short ucMode)
 MTC 会话获取接收侧 AGC 模式。 更多
 
static int Mtc_SessGetRxAgcMode (int dwSessId, MtcNumber pucMode)
 MTC 会话获取接收侧 AGC 模式。 更多
 
static int Mtc_SessSetRxAgcTarget (int dwSessId, int wTargetDb)
 MTC 会话设置接收侧 AGC 目标 dBOV。 更多
 
static int Mtc_SessGetRxAgcTarget (int dwSessId, MtcNumber pwTargetDb)
 MTC 会话获取接收侧 AGC 目标 dBOV。 更多
 
static int Mtc_SessSetRxAnrEnable (int dwSessId, boolean bEnable)
 MTC 会话设置接收侧 ANR 状态。 更多
 
static int Mtc_SessGetRxAnrEnable (int dwSessId, MtcNumber pbEnable)
 MTC 会话获取接收侧 ANR 状态。 更多
 
static int Mtc_SessSetRxAnrMode (int dwSessId, short ucMode)
 MTC 会话获取接收侧 ANR 模式。 更多
 
static int Mtc_SessGetRxAnrMode (int dwSessId, MtcNumber pucMode)
 MTC 会话获取接收侧 ANR 模式。 更多
 
static int Mtc_SessSetVadEnable (int dwSessId, boolean bEnable)
 MTC 会话设置 VAD 状态。 更多
 
static int Mtc_SessGetVadEnable (int dwSessId, MtcNumber pbEnable)
 MTC 会话获取 VAD 状态。 更多
 
static int Mtc_SessSetVadMode (int dwSessId, short ucMode)
 MTC 会话设置 VAD 模式。 更多
 
static int Mtc_SessGetVadMode (int dwSessId, MtcNumber pucMode)
 MTC 会话获取 VAD 模式。 更多
 
static int Mtc_SessEnhanceColor (int dwSessId, boolean bEnable)
 MTC 会话可用/不可用色彩增强。 更多
 
static int Mtc_SessArsEnableCpuCtrl (int dwSessId, boolean bEnable)
 MTC 会话可用/不可用 CPU 加载控制。 更多
 
static int Mtc_SessArsSetCupCtrlTgt (int dwSessId, int iLoad)
 MTC 会话设置 CPU 加载控制目标使用百分比。 更多
 
static int Mtc_SessArsEnableBem (int dwSessId, boolean bEnable)
 MTC 会话可用/不可用带宽有效模式。 更多
 
static int Mtc_SessRecRecvVideoStart (int dwSessId, String pcFileName, short ucFileType, int iWidth, int iHeight, boolean bWithAudio)
 MTC 会话开始录制呼入视频。 更多
 
static int Mtc_SessRecRecvVideoStop (int dwSessId)
 MTC 会话停止录制呼入视频。 更多
 
static int Mtc_SessRecSendVideoStart (int dwSessId, String pcFileName, short ucFileType, int iWidth, int iHeight, boolean bWithAudio)
 MTC 会话开始录制发送视频。 更多
 
static int Mtc_SessRecSendVideoStop (int dwSessId)
 MTC 会话停止录制正在发送的视频。 更多
 
static int Mtc_SessRenderSnapshot (int dwSessId, String pcFileName)
 抓拍显示渲染。 更多
 
static int Mtc_SessCaptureSnapshot (int dwSessId, String pcFileName)
 截图抓拍。 更多
 
static String Mtc_SessGetStatDesc (int dwStatCode)
 MTC 会话获取终止原因描述。 更多

额外继承的成员函数

静态 Public 属性 继承自 com.juphoon.lemon.MtcCallConstants

static final int MTC_EBASE_CP = 0xE000
 CP 错误库
 
static final int MTC_EBASE_REG = 0xE100
 REG 错误库
 
static final int MTC_EBASE_CALL = 0xE200
 CALL 错误库
 
static final int MTC_EBASE_VSHARE = 0xE300
 VSHARE 错误库
 
static final int MTC_EBASE_CAP = 0xE400
 CAP 错误库
 
static final int MTC_EBASE_BUDDY = 0xE500
 BUDDY 错误库
 
static final int MTC_EBASE_GRP = 0xE600
 GRP 错误库
 
static final int MTC_EBASE_CONF = 0xE700
 CONF 错误库
 
static final int MTC_EBASE_GS = 0xE800
 GS 错误库
 
static final int MTC_EBASE_PRES = 0xE900
 PRES 错误库
 
static final int MTC_EBASE_IM = 0xEA00
 IM 错误库
 
static final int MTC_EBASE_CONTACT = 0xEB00
 CONTACT 错误库
 
static final int MTC_EBASE_LOG = 0xEC00
 LOG 错误库
 
static final int MTC_EBASE_LCS = 0xED00
 LCS 错误库
 
static final String MTC_CALL_REC_FILE_PCM = "pcm"
 pcm 内容
 
static final String MTC_CALL_REC_FILE_WAV = "wav"
 wav 内容
 
static final int MTC_CALL_ERR_NO = (0xE200+0)
 没有错误.
 
static final int MTC_CALL_ERR_AUTH_FAILED = (0xE200+1)
 授权失败,无效用户或密码.
 
static final int MTC_CALL_ERR_SESS_TMR = (0xE200+2)
 呼叫刷新错误
 
static final int MTC_CALL_ERR_FORBIDDEN = (0xE200+3)
 呼叫禁止。
 
static final int MTC_CALL_ERR_NOT_FOUND = (0xE200+4)
 呼叫成员未找到.
 
static final int MTC_CALL_ERR_NOT_ACPTED = (0xE200+5)
 呼叫不被接受。
 
static final int MTC_CALL_ERR_TEMP_UNAVAIL = (0xE200+6)
 呼叫成员临时不可用。
 
static final int MTC_CALL_ERR_REQ_TERMED = (0xE200+7)
 呼叫请求终止。
 
static final int MTC_CALL_ERR_INTERNAL_ERR = (0xE200+8)
 服务器内部错误.
 
static final int MTC_CALL_ERR_SRV_UNAVAIL = (0xE200+9)
 业务不可用。
 
static final int MTC_CALL_ERR_NOT_EXIST = (0xE200+10)
 不存在。
 
static final int MTC_CALL_ERR_USER_NOTREG = (0xE200+11)
 呼叫成员未注册。
 
static final int MTC_CALL_TERM_BYE = (0xE200+21)
 挂断终止。
 
static final int MTC_CALL_TERM_CANCEL = (0xE200+22)
 取消终止。
 
static final int MTC_CALL_TERM_TIMEOUT = (0xE200+23)
 超时终止。
 
static final int MTC_CALL_TERM_BUSY = (0xE200+24)
 正忙终止。
 
static final int MTC_CALL_TERM_DECLINE = (0xE200+25)
 拒绝终止。
 
static final int MTC_CALL_TERM_TRSFED = (0xE200+26)
 转移终止。
 
static final int MTC_CALL_TERM_REDIRECT = (0xE200+27)
 重新定向终止。
 
static final int MTC_CALL_TERM_REPLACE = (0xE200+28)
 替换终止。
 
static final int MTC_CALL_ALERT_RING = (0xE200+41)
 由 180 提醒。
 
static final int MTC_CALL_ALERT_QUEUED = (0xE200+42)
 由 182 提醒。
 
static final int MTC_CALL_ALERT_PROGRESS = (0xE200+43)
 由 183 提醒。
 
static final int MTC_CALL_ERR_OTHER = (0xE200+200)
 其他错误.
 
static final int EN_MTC_CALL_DTMF_0 = 0
 DTMF 信号 0.
 
static final int EN_MTC_CALL_DTMF_1 = EN_MTC_CALL_DTMF_0 + 1
 DTMF 信号 1.
 
static final int EN_MTC_CALL_DTMF_2 = EN_MTC_CALL_DTMF_1 + 1
 DTMF 信号 2.
 
static final int EN_MTC_CALL_DTMF_3 = EN_MTC_CALL_DTMF_2 + 1
 DTMF 信号 3.
 
static final int EN_MTC_CALL_DTMF_4 = EN_MTC_CALL_DTMF_3 + 1
 DTMF 信号 4.
 
static final int EN_MTC_CALL_DTMF_5 = EN_MTC_CALL_DTMF_4 + 1
 DTMF 信号 5.
 
static final int EN_MTC_CALL_DTMF_6 = EN_MTC_CALL_DTMF_5 + 1
 DTMF 信号 6.
 
static final int EN_MTC_CALL_DTMF_7 = EN_MTC_CALL_DTMF_6 + 1
 DTMF 信号 7.
 
static final int EN_MTC_CALL_DTMF_8 = EN_MTC_CALL_DTMF_7 + 1
 DTMF 信号 8.
 
static final int EN_MTC_CALL_DTMF_9 = EN_MTC_CALL_DTMF_8 + 1
 DTMF 信号 9.
 
static final int EN_MTC_CALL_DTMF_STAR = EN_MTC_CALL_DTMF_9 + 1
 DTMF 信号 *.
 
static final int EN_MTC_CALL_DTMF_POUND = EN_MTC_CALL_DTMF_STAR + 1
 DTMF 信号 #.
 
static final int EN_MTC_CALL_DTMF_A = EN_MTC_CALL_DTMF_POUND + 1
 DTMF 信号 A.
 
static final int EN_MTC_CALL_DTMF_B = EN_MTC_CALL_DTMF_A + 1
 DTMF 信号 B.
 
static final int EN_MTC_CALL_DTMF_C = EN_MTC_CALL_DTMF_B + 1
 DTMF 信号 C.
 
static final int EN_MTC_CALL_DTMF_D = EN_MTC_CALL_DTMF_C + 1
 DTMF 信号 D.
 
static final int EN_MTC_CALL_ALERT_INFO_NULL = 0
 没有提醒信息
 
static final int EN_MTC_CALL_ALERT_INFO_DR0 = EN_MTC_CALL_ALERT_INFO_NULL + 1
 bellcore_dr0
 
static final int EN_MTC_CALL_ALERT_INFO_DR1 = EN_MTC_CALL_ALERT_INFO_DR0 + 1
 bellcore_dr1
 
static final int EN_MTC_CALL_ALERT_INFO_DR2 = EN_MTC_CALL_ALERT_INFO_DR1 + 1
 bellcore_dr2
 
static final int EN_MTC_CALL_ALERT_INFO_DR3 = EN_MTC_CALL_ALERT_INFO_DR2 + 1
 bellcore_dr3
 
static final int EN_MTC_CALL_ALERT_INFO_DR4 = EN_MTC_CALL_ALERT_INFO_DR3 + 1
 bellcore_dr4
 
static final int EN_MTC_CALL_ALERT_INFO_DR5 = EN_MTC_CALL_ALERT_INFO_DR4 + 1
 bellcore_dr5
 
static final int EN_MTC_CALL_EM_STATUS_INACTIVE = 0
 不活跃
 
static final int EN_MTC_CALL_EM_STATUS_SENDONLY = EN_MTC_CALL_EM_STATUS_INACTIVE + 1
 仅发送
 
static final int EN_MTC_CALL_EM_STATUS_RECVONLY = EN_MTC_CALL_EM_STATUS_SENDONLY + 1
 仅接收
 
static final int EN_MTC_CALL_EM_STATUS_SENDRECV = EN_MTC_CALL_EM_STATUS_RECVONLY + 1
 发送与接收
 
static final int EN_MTC_CALL_TERM_REASON_NORMAL = 0
 正常会话终止,挂断或取消
 
static final int EN_MTC_CALL_TERM_REASON_BUSY = EN_MTC_CALL_TERM_REASON_NORMAL + 1
 会话被拒绝
 
static final int EN_MTC_CALL_TERM_REASON_DECLINE = EN_MTC_CALL_TERM_REASON_BUSY + 1
 拒绝会话
 
static final int EN_MTC_CALL_TERM_REASON_NOT_AVAILABLE = EN_MTC_CALL_TERM_REASON_DECLINE + 1
 用户不可用
 
static final int EN_MTC_CALL_REC_MODE_ALL = 0
 记录所有数据
 
static final int EN_MTC_CALL_REC_MODE_PLAY = EN_MTC_CALL_REC_MODE_ALL + 1
 记录空白数据
 
static final int EN_MTC_CALL_REC_MODE_MIC = EN_MTC_CALL_REC_MODE_PLAY + 1
 记录麦克风数据

成员函数说明

static int com.juphoon.lemon.MtcCall.Mtc_SessAlert (int dwSessId, Object zCookie, int dwType, boolean bReliable ) static

MTC 会话提醒呼入会话。

参数
[in]dwSessId你想要应答的呼入会话的 ID。
[in]zCookie与 UI 资源相符。 The cookie 值可在会话中的任何时间由 Rse_SessGetCookie 获取或由 Rse_SessSetCookie 重设。
[in]dwType提醒类型, EN_MTF_ALERT_TYPE。
[in]bReliable若为真,消息将作为可靠的临时回应被发送。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
参见
MtcCall.Mtc_SessCall, MtcCall.Mtc_SessGetCookie, MtcCall.Mtc_SessSetCookie
static int com.juphoon.lemon.MtcCall.Mtc_SessAnswer (int dwSessId, Object zCookie, boolean bAudio, boolean bVideo ) static

MTC 会话应答由 mtcCallCbIncoming 所设回调通知的呼入会话呼叫。

参数
[in]dwSessId你想要应答的呼入会话的 ID。
[in]zCookie与 UI 资源相符。cookie 值 可在会话中任意时间由 MtcCall.Mtc_SessGetCookie 获取或由 MtcCall.Mtc_SessSetCookie 重设。
[in]bAudio指该呼叫是否有音频流
[in]bVideo指该呼叫是否有视频流。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
参见
MtcCall.Mtc_SessCall, mtcCallCbIncoming, MtcCall.Mtc_SessGetCookie, MtcCall.Mtc_SessSetCookie
static int com.juphoon.lemon.MtcCall.Mtc_SessArsEnableBem (int dwSessId, boolean bEnable ) static

MTC 会话可用/不可用带宽有效模式。

参数
[in]dwSessId会话 ID。
[in]bEnableZTRUE 可用带宽有效模式。 ZFALSE 不可用带宽有效模式。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
static int com.juphoon.lemon.MtcCall.Mtc_SessArsEnableCpuCtrl (int dwSessId, boolean bEnable ) static

MTC 会话可用/不可用 CPU 加载控制。

参数
[in]dwSessId会话 ID。
[in]bEnableZTRUE 可用 CPU 加载控制。 ZFALSE 不可用 CPU 加载控制。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
static int com.juphoon.lemon.MtcCall.Mtc_SessArsSetCupCtrlTgt (int dwSessId, int iLoad ) static

MTC 会话设置 CPU 加载控制目标使用百分比。

参数
[in]dwSessId会话 ID。
[in]iLoadCPU 加载控制目标使用百分比,应为0到100.
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
static int com.juphoon.lemon.MtcCall.Mtc_SessATrsf (int dwSessId, int dwTrsfSessId ) static

MTC 会话参与转发。

若参与转发成功,GUI 将由 mtcCallCbTrsfAcpt 所设置的回调通知。

若参与转发失败,GUI 将由 mtcCallCbTrsfFailed, mtcCallCbTrsfTerm 所设置的回调通知。

当接收参与转发,GUI 将由 mtcCallCbRefered 所设置的回调通知。

参数
[in]dwSessId你想要参与转发的会话的 ID。
[in]dwTrsfSessId你想要转发此会话的目标会话。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。

若你与用户 A 同在一个会话(由 dwSessId 说明)且与用户 B 同在一个会话 (由 dwTrsfSessId 说明), 参与转发的结果为 A 将 与 B 同在一个会话,且你所在的所有会话将终止。

参见
MtcCall.Mtc_SessUTrsf
static int com.juphoon.lemon.MtcCall.Mtc_SessAudioJitter (int dwSessId) static

MTC 获取音频流震动。

参数
[in]dwSessId会话 ID。
返回
以毫秒为单位震动。
参见
MtcCall.Mtc_SessVideoJitter
static int com.juphoon.lemon.MtcCall.Mtc_SessAudioLostCount (int dwSessId) static

MTC 获取音频流的丢失数量。

参数
[in]dwSessId会话 ID。
返回
总丢失数量。
参见
MtcCall.Mtc_SessVideoLostRatio
static int com.juphoon.lemon.MtcCall.Mtc_SessAudioLostRatio (int dwSessId) static

MTC 获取音频流中的百分比丢失率。

参数
[in]dwSessId会话 ID。
返回
百分比丢失率(0-1000)。
参见
MtcCall.Mtc_SessVideoLostRatio
static int com.juphoon.lemon.MtcCall.Mtc_SessAudioRtt (int dwSessId) static

MTC 获取音频流往返一次时间。

参数
[in]dwSessId会话 ID。
返回
以毫秒为单位往返一次时间。
参见
MtcCall.Mtc_SessVideoRtt
static int com.juphoon.lemon.MtcCall.Mtc_SessCall (String pcUri, Object zCookie, boolean bAudio, boolean bVideo ) static

MTC 呼叫,建立带有视频或音频的会话呼叫。

若发送一个新的呼叫,并且并且被呼叫方应答,GUI 将由 mtcCallCbAlerted, mtcCallCbTalking 所设置的回调通知。

若发送一个新的呼叫,并且被呼叫方中心定向,GUI 将由 mtcCallCbOutgoing, mtcCallCbAlerted, mtcCallCbTalking 所设置的回调通知。

若发送一个新的呼叫,并且被呼叫方没有应答(超时,正忙等),GUI 将由 mtcCallCbAlerted, mtcCallCbTermed 所设置的回调通知。

当接收呼叫请求,GUI 将由 mtcCallCbIncoming 所设置的回调通知。

当接收呼叫请求,并且会话存在,GUI 将由 mtcCallCbReplaced 所设置的回调通知。

参数
[in]pcUri你想要拨打会话呼叫的目标 URI。
[in]zCookie与UI 资源复合。 cookie 值可在会话中的任何时间由 MtcCall.Mtc_SessGetCookie 获取,或由 MtcCall.Mtc_SessSetCookie 重设。
[in]bAudio指该呼叫是否有音频流。
[in]bVideo指该呼叫是否有视频流。
返回
这一新建会话的 ID,若成功,否则返回 MtcCommonConstants::INVALIDID。
参见
MtcCall.Mtc_SessAnswer, MtcCall.Mtc_SessGetCookie, MtcCall.Mtc_SessSetCookie
static int com.juphoon.lemon.MtcCall.Mtc_SessCallX (String pcUri, Object zCookie, boolean bAudio, boolean bVideo, boolean bSend, boolean bRecv ) static

MTC 呼叫,建立有视频或音频的会话呼叫。

若发送一个新的呼叫,并且被呼叫方应答,GUI 将由 mtcCallCbAlerted, mtcCallCbTalking 所设置的回调通知。

若发送一个新的呼叫,并且被呼叫方重新定向,GUI 将由 mtcCallCbOutgoing, mtcCallCbAlerted, mtcCallCbTalking 所设置的回调通知。

若发送一个新的呼叫,并且被呼叫方没有应答(超时、正忙等),GUI 将由 mtcCallCbAlerted, mtcCallCbTermed 所设置的回调通知。

当接收呼叫请求,GUI 将由 was set by mtcCallCbIncoming 所设置的回调通知。

当接收呼叫邀请且会话存在,GUI 将由 mtcCallCbReplaced 当接收呼叫邀请且会话存在,GUI 将由

参数
[in]pcUri你想要拨打会话呼叫的目标 URI。
[in]zCookie与 UI 资源相符。cookie 值可在会话中任意时间由 MtcCall.Mtc_SessGetCookie 获取或由 MtcCall.Mtc_SessSetCookie 重设。
[in]bAudio指该呼叫是否有音频流。
[in]bVideo指该呼叫是否有视频流。
[in]bSend指该通话是否在建立完成后开始发送。
[in]bRecv指该通话是否在建立完成后开始接收。
返回
新建会话 ID,若成功,否则返回 MtcCommonConstants::INVALIDID。
参见
MtcCall.Mtc_SessAnswer, MtcCall.Mtc_SessGetCookie, MtcCall.Mtc_SessSetCookie
static int com.juphoon.lemon.MtcCall.Mtc_SessCameraAttach (int dwSessId) static

MTC 会话附带摄像头。

参数
[in]dwSessId会话 ID。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
static int com.juphoon.lemon.MtcCall.Mtc_SessCameraDetach (int dwSessId) static

MTC 会话没有摄像头。

参数
[in]dwSessId会话 ID。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
static int com.juphoon.lemon.MtcCall.Mtc_SessCaptureSnapshot (int dwSessId, String pcFileName ) static

截图抓拍。

参数
[in]dwSessId会话 ID。
[in]pcFileName存储照片的文件名称。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
参见
MtcCall.Mtc_SessRenderSnapshot
static int com.juphoon.lemon.MtcCall.Mtc_SessDiv (int dwSessId, String pcUri ) static

MTC 会话将转换由 callback function which was set by mtcCallCbIncoming 所设的回调通知的呼入会话呼叫。

当接收前转,GUI 将由 mtcCallCbRedirected 所设置的回调通知。

参数
[in]dwSessId你想要转换的会话的 ID。
[in]pcUri转换目标 URI。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
参见
mtcCallCbIncoming
static int com.juphoon.lemon.MtcCall.Mtc_SessDtmf (int dwSessId, int dwDtmfType ) static

MTC 会话发送 DTMF 信息。

参数
[in]dwSessId你想要发送 DTMF 信息的会话 ID。
[in]dwDtmfTypeDTMF 将被发送的 DTMF 类型,见 MtcCallConstants::EN_MTC_CALL_DTMF_0。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
static int com.juphoon.lemon.MtcCall.Mtc_SessEnhanceColor (int dwSessId, boolean bEnable ) static

MTC 会话可用/不可用色彩增强。

参数
[in]dwSessId会话 ID。
[in]bEnableZTRUE 可用色彩增强, ZFALSE 不可用色彩增强。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
static int com.juphoon.lemon.MtcCall.Mtc_SessGetAlertInfo (int dwSessId) static

MTC 会话获取提醒信息类型。

参数
[in]dwSessId你想要获取的会话的 ID。
返回值
ref MtcCallConstants::EN_MTC_CALL_ALERT_INFO_NULL。

此函数获取的信息事实上来自 SIP 消息中的提醒-信息头域。

static String com.juphoon.lemon.MtcCall.Mtc_SessGetAudioStat (int dwSessId) static

Mtc 会话获取语音统计。

参数
[in]dwSessId会话 ID。
返回值
音频统计字符串。
static int com.juphoon.lemon.MtcCall.Mtc_SessGetCallId (int dwSessId, MtcString ppcCallId ) static

MTC 会话获取呼叫-ID 字符串。

参数
[in]dwSessId你想要获取的会话的 ID。
[out]ppcCallId呼叫-ID 字符串。

调用方必须先复制参数,再使用。

返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
static Object com.juphoon.lemon.MtcCall.Mtc_SessGetCookie (int dwSessId) static

MTC 会话获取 cookie 值。

参数
[in]dwSessId你想要获取 cookie 值的会话的 ID。
返回
会话 cookie。

cookie 值可由 MtcCall.Mtc_SessCall, MtcCall.Mtc_SessAnswerMtcCall.Mtc_SessSetCookie 提前设置。

参见
MtcCall.Mtc_SessCall, MtcCall.Mtc_SessAnswer, MtcCall.Mtc_SessSetCookie
static int com.juphoon.lemon.MtcCall.Mtc_SessGetEarlyMediaStatus (int dwSessId, boolean bVideo ) static

MTC 会话获取早期媒体状态。

参数
[in]dwSessId你想要获取其早期媒体状态的会话的 ID。
[in]bVideo若为 true,获取视频状态,否则获取音频状态。
返回值
ref MtcCallConstants::EN_MTC_CALL_EM_STATUS_INACTIVE.
参见
MtcCall.Mtc_SessHasOfferAnswer
static boolean com.juphoon.lemon.MtcCall.Mtc_SessGetMicMute (int dwSessId) static

MTC 会话获取麦克风静音状态。

参数
[in]dwSessId你想要获取的会话的 ID。
返回值
true若静音。
false若不静音。
参见
MtcCall.Mtc_SessSetMicMute
static float com.juphoon.lemon.MtcCall.Mtc_SessGetMicScale (int dwSessId) static

MTC 会话获取麦克风范围。

参数
[in]dwSessId你想要获取的会话的 ID。
返回
范围值,从 0.0 到 10.0, 1.0 表示没有缩放。
参见
MtcCall.Mtc_SessSetMicScale
static boolean com.juphoon.lemon.MtcCall.Mtc_SessGetMixVoice (int dwSessId) static

MTC 会话获取混音状态。

参数
[in]dwSessId你想要获取的会话的 ID。
返回
混音状态。
static int com.juphoon.lemon.MtcCall.Mtc_SessGetPeerId (int dwSessId, MtcString ppcDispName, MtcString ppcUri ) static

MTC 会话获取对方 ID,基于规则。

参数
[in]dwSessId你想要获取的会话的 ID。
[out]ppcDispName与你同在一个会话的对方用户的显示名称。
[out]ppcUri与你同在一个会话的对方用户 URI。

调用方必须先复制参数,再使用。

返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。

注意该函数结果可能与 Mtc_SessGetPeerUri 不同, 因为规则应用。如 OIP, OIR, TIP, TIR, 和 私人。

参见
MtcCall.Mtc_SessGetPeerUri
static int com.juphoon.lemon.MtcCall.Mtc_SessGetPeerUri (int dwSessId, MtcString ppcDispName, MtcString ppcUri ) static

MTC 会话获取对方 URI 及显示名称。

参数
[in]dwSessId你想要获取的会话的 ID。
[out]ppcDispName对方用户显示名称。
[out]ppcUri对方用户 URI。

调用方必须先复制参数,再使用。

返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。

有此函数获取的对方信息事实上来自 FROM/TO SIP 消息中的头域。 所以对方用户的真实身份不是由服务器提醒的。

参见
MtcCall.Mtc_SessGetPeerId
static int com.juphoon.lemon.MtcCall.Mtc_SessGetRxAgcEnable (int dwSessId, MtcNumber pbEnable ) static

MTC 会话获取接收侧 AGC 状态。

参数
[in]dwSessId会话 ID。
[out]*pbEnable当前 Rx-AGC 状态。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
参见
MtcCall.Mtc_SessSetRxAgcEnable
static int com.juphoon.lemon.MtcCall.Mtc_SessGetRxAgcMode (int dwSessId, MtcNumber pucMode ) static

MTC 会话获取接收侧 AGC 模式。

参数
[in]dwSessId会话 ID。
[out]*pucModeRx-AGC 模式,MtcMediaConstants::EN_MTC_RX_GC_FIXED。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
参见
MtcCall.Mtc_SessSetRxAgcMode
static int com.juphoon.lemon.MtcCall.Mtc_SessGetRxAgcTarget (int dwSessId, MtcNumber pwTargetDb ) static

MTC 会话获取接收侧 AGC 目标 dBOV。

参数
[in]dwSessId会话 ID。
[out]*pwTargetDbRx-AGC 目标 dBOV。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
参见
MtcCall.Mtc_SessSetRxAgcTarget
static int com.juphoon.lemon.MtcCall.Mtc_SessGetRxAnrEnable (int dwSessId, MtcNumber pbEnable ) static

MTC 会话获取接收侧 ANR 状态。

参数
[in]dwSessId会话 ID。
[out]*pbEnableRx-ANR 当前状态。.
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
参见
MtcCall.Mtc_SessSetRxAnrEnable
static int com.juphoon.lemon.MtcCall.Mtc_SessGetRxAnrMode (int dwSessId, MtcNumber pucMode ) static

MTC 会话获取接收侧 ANR 模式。

参数
[in]dwSessId会话 ID。
[out]*pucModeRx-ANR 模式,MtcMediaConstants::EN_MTC_NS_LOW。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
参见
MtcCall.Mtc_SessSetRxAnrMode
static boolean com.juphoon.lemon.MtcCall.Mtc_SessGetSpkMute (int dwSessId) static

MTC 会话获取扬声器静音状态。

参数
[in]dwSessId你想要获取的会话的 ID。
返回值
true若静音。
false若不静音。
参见
MtcCall.Mtc_SessSetSpkMute
static float com.juphoon.lemon.MtcCall.Mtc_SessGetSpkScale (int dwSessId) static

MTC 会话获取扬声器范围。

参数
[in]dwSessId你想要获取的会话的 ID。
返回
范围值,从 0.0 到 10.0, 1.0 表示没有缩放。
参见
MtcCall.Mtc_SessSetSpkScale
static int com.juphoon.lemon.MtcCall.Mtc_SessGetSpkVol (int dwSessId) static

MTC 会话获取扬声器音量。

参数
[in]dwSessId你想要获取的会话的 ID。
返回
音量值,从 0 到 20。
参见
MtcCall.Mtc_SessSetSpkVol
static String com.juphoon.lemon.MtcCall.Mtc_SessGetStatDesc (int dwStatCode) static

MTC 会话获取终止原因描述。

参数
[in]dwStatCode状态代码。
返回
状态代码描述,若成功,否则返回 "未知"。
static int com.juphoon.lemon.MtcCall.Mtc_SessGetVadEnable (int dwSessId, MtcNumber pbEnable ) static

MTC 会话获取 VAD 状态。

参数
[in]dwSessId会话 ID。
[out]*pbEnable当前 VAD 状态。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
参见
MtcCall.Mtc_SessSetVadEnable
static int com.juphoon.lemon.MtcCall.Mtc_SessGetVadMode (int dwSessId, MtcNumber pucMode ) static

MTC 会话获取 VAD 模式。

参数
[in]dwSessId会话 ID。
[out]*pucModeVAD 模式,MtcMediaConstants::EN_MTC_VAD_NORMAL。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
参见
MtcCall.Mtc_SessSetVadMode
static int com.juphoon.lemon.MtcCall.Mtc_SessGetVideoLocalSize (int dwSessId, MtcNumber pdwWidth, MtcNumber pdwHeight ) static

MTC 会话获取本地视频大小。

参数
[in]dwSessId会话 ID。
[out]pdwWidth特定会话视频像素宽度。
[out]pdwHeight特定会话视频像素高度。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
static int com.juphoon.lemon.MtcCall.Mtc_SessGetVideoRemoteSize (int dwSessId, MtcNumber pdwWidth, MtcNumber pdwHeight ) static

MTC 会话获取远程视频大小。

参数
[in]dwSessId会话 ID。
[out]pdwWidth特定会话视频像素宽度。
[out]pdwHeight特定会话视频像素高度。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
static int com.juphoon.lemon.MtcCall.Mtc_SessGetVideoSize (int dwSessId, MtcNumber pdwWidth, MtcNumber pdwHeight ) static

MTC 会话获取视频大小。

参数
[in]dwSessId会话 ID。
[out]pdwWidth在特定会话内视频像素宽度。
[out]pdwHeight在特定会话内视频像素高度。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
static String com.juphoon.lemon.MtcCall.Mtc_SessGetVideoStat (int dwSessId) static

Mtc 会话获取视频统计。

参数
[in]dwSessId会话 ID。
返回值
视频统计字符串。
static boolean com.juphoon.lemon.MtcCall.Mtc_SessHasAudio (int dwSessId) static

MTC 会话检查是否有活跃音频流。

参数
[in]dwSessId会话 ID。
返回值
true若是。
false若否。
参见
MtcCall.Mtc_SessHasVideo
static boolean com.juphoon.lemon.MtcCall.Mtc_SessHasHeld (int dwSessId) static

MTC 检查会话已经进入被保持状态。

参数
[in]dwSessId会话 ID。
返回值
true若在被保持状态。
false若不在被保持状态。
参见
MtcCall.Mtc_SessHasHold
static boolean com.juphoon.lemon.MtcCall.Mtc_SessHasHold (int dwSessId) static

MTC 检查会话已经进入保持状态。

参数
[in]dwSessId会话 ID。
返回值
true若在保持状态。
false若不在保持状态。
参见
MtcCall.Mtc_SessHasHeld
static boolean com.juphoon.lemon.MtcCall.Mtc_SessHasOfferAnswer (int dwSessId) static

MTC 会话检查提供/应答交换是否完成。

参数
[in]dwSessId会话 ID。
返回值
true若提供有应答。
false若提供没有应答。
参见
MtcCall.Mtc_SessGetEarlyMediaStatus
static boolean com.juphoon.lemon.MtcCall.Mtc_SessHasTalk (int dwSessId) static

MTC 检查会话已经进入对话状态。

参数
[in]dwSessId会话 ID。
返回值
true若在对话状态。
false若不在对话状态。
参见
MtcCall.Mtc_SessCall, MtcCall.Mtc_SessAnswer
static boolean com.juphoon.lemon.MtcCall.Mtc_SessHasVideo (int dwSessId) static

MTC 会话检查是否有活跃视频流。

参数
[in]dwSessId会话 ID。
返回值
true若是。
false若否。
参见
MtcCall::Mtc_SessVideoStart, MtcCall.Mtc_SessVideoStop, MtcCall.Mtc_SessHasAudio
static int com.juphoon.lemon.MtcCall.Mtc_SessHold (int dwSessId) static

MTC 会话保持。

当发送会话保持成功,GUI 将由 mtcCallCbHoldOk 所设置的回调通知。

当发送会话保持失败,GUI 将由 mtcCallCbHoldFailed 所设置的回调通知。

当接收会话保持,GUI 将由 was set by mtcCallCbHeld 所设置的回调通知。

参数
[in]dwSessId你想要保持的会话的 ID。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
参见
MtcCall.Mtc_SessUnhold
static int com.juphoon.lemon.MtcCall.Mtc_SessInfo (int dwSessId, String pcInfo ) static

MTC 会话发送带有文本的 INFO。

参数
[in]dwSessId你想要发送 INFO 的会话 ID。
[in]pcInfoINFO 所携带的文本字符串。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
static int com.juphoon.lemon.MtcCall.Mtc_SessPartpGetIds (int dwSessId, MtcNumber piPartpIds, MtcNumber piPartpCnt ) static

获取所有成员 ID。

参数
[in]dwSessId会话 ID。
[in,out]piPartpIds指返回时被用户填满的缓存。
[in,out]piPartpCnt指 piPartpIds 可存储的最大数量。 在返回后,它包含 piPartpIds 所存储的实际适量。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
static int com.juphoon.lemon.MtcCall.Mtc_SessPartpGetRenderArea (int dwSessId, MtcNumber piPartpIds, int iPartpCnt, MtcNumber piAreaIndexs ) static

为每一位成员获取渲染区域索引。

参数
[in]dwSessId会话 ID。
[in]piPartpIds成员 ID 阵列。
[in]iPartpCnt成员 ID 数量。
[in]piAreaIndexs指在 piPartpIds 内将填满每一个用户 ID 的渲染区域索引缓冲 值得范围为0到个数-1, 由 MtcCall.Mtc_SessRenderAddMtcCall.Mtc_SessRenderReset 设置。若成员 当前没有被渲染,值为 ZMAXUINT。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
参见
MtcCall.Mtc_SessPartpGetIds, MtcCall.Mtc_SessPartpSetRenderArea
static int com.juphoon.lemon.MtcCall.Mtc_SessPartpGetRtpInfo (int dwSessId, int iPartpId, MtcNumber piSsrc, MtcNumber piIp, MtcNumber pwPort ) static

获取特定成员 ID 的 RTP。

参数
[in]dwSessId会话 ID。
[in]iPartpId成员 ID。
[in,out]piSsrc指填满 SSRC 值得数据。
[in,out]piIp指填满 IP 地址的数据。
[in,out]pwPort指填满端口的数据。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
参见
MtcCall.Mtc_SessPartpGetIds
static int com.juphoon.lemon.MtcCall.Mtc_SessPartpSetRenderArea (int dwSessId, MtcNumber piPartpIds, int iPartpCnt, MtcNumber piAreaIndexs ) static

设置每一位用户的渲染区域索引。

参数
[in]dwSessId会话 ID。
[in]piPartpIds成员 ID 列阵。
[in]iPartpCnt成员 ID 数量。
[in]piAreaIndexs每位成员渲染区域索引的阵列。 值范围应在0到格式-1内, 由 MtcCall.Mtc_SessRenderAddMtcCall.Mtc_SessRenderReset 设置。所以其他值 将被分配到 ZMAXUINT,这意味着 成员当前不应被渲染。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
参见
MtcCall.Mtc_SessPartpGetIds, MtcCall.Mtc_SessPartpGetRenderArea
static boolean com.juphoon.lemon.MtcCall.Mtc_SessPeerIsFocus (int dwSessId) static

MTC 会话检查对方是否包含焦点参数。

参数
[in]dwSessId会话 ID。
返回值
true若对方有焦点。
false若对方没有焦点。
static boolean com.juphoon.lemon.MtcCall.Mtc_SessPeerOfferAudio (int dwSessId) static

MTC 会话检查对方是否提供音频流。

参数
[in]dwSessId会话 ID。
返回值
true若是。
false若否。
参见
MtcCall.Mtc_SessPeerOfferVideo
static boolean com.juphoon.lemon.MtcCall.Mtc_SessPeerOfferVideo (int dwSessId) static

MTC 会话检查对方是否提供视频流。

参数
[in]dwSessId会话 ID。
返回值
true若是。
false若否。
参见
MtcCall::Mtc_SessVideoStart, MtcCall.Mtc_SessVideoStop, MtcCall.Mtc_SessPeerOfferAudio
static int com.juphoon.lemon.MtcCall.Mtc_SessPickUp (String pcUri, String pcReplaceInfo, Object zCookie, boolean bAudio, boolean bVideo ) static

MTC PickUp, 通过取代特定会话建立带有视频或音频的 会话呼叫。

若被呼叫方接收新会话呼叫,GUI 将由 mtcCallCbTalking 所设置的回调通知。

若被呼叫方拒绝新会话呼叫,或无人应答,GUI 将由 mtcCallCbTermed 所设置的回调通知。

参数
[in]pcUri你想要拨打会话呼叫的目标 URI。
[in]pcReplaceInfo用户定位被取代呼叫的取代信息。 格式必须遵照 RFC3891, 如 '42592.nosp@m.8@ph.nosp@m.one.e.nosp@m.xamp.nosp@m.le.or.nosp@m.g;to-tag=7743;from-tag=6472'。
[in]zCookie与 UI 资源相符。 cookie值可在会话的任何时间中由 MtcCall.Mtc_SessGetCookie 获取或由 MtcCall.Mtc_SessSetCookie 重设。
[in]bAudio指该呼叫是否有音频流
[in]bVideo指该呼叫是否有视频流。
返回
新建会话 ID,若成功,否则返回 MtcCommonConstants::INVALIDID。
参见
MtcCall.Mtc_SessPickUpX
static int com.juphoon.lemon.MtcCall.Mtc_SessPickUpX (int dwSessId) static

MTC 会话 PickUp, 通过取代特定的呼叫建立带有视频或音频的会话呼叫。

参数
[in]dwSessId所获得的会话 ID 说明。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
参见
MtcCall.Mtc_SessPickUp
static int com.juphoon.lemon.MtcCall.Mtc_SessPreviewSetArea (int dwSessId, Object dwHandle, short wX, short wY, int wWidth, int wHeight ) static

MTC 会话设置预览区域。

参数
[in]dwSessId会话 ID。
[in]dwHandle显示本地图像的窗口句柄。
[in]wX本地图片左上角 X 值。
[in]wY本地图片左上角 Y 值。
[in]wWidth本地图片宽度。
[in]wHeight本地图片高度。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
static int com.juphoon.lemon.MtcCall.Mtc_SessPreviewShow (int dwSessId, boolean bShow ) static

MTC 会话显示或隐藏预览图片。

参数
[in]dwSessId会话 ID。
[in]bShowtrue 显示图片,false 隐藏。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
static int com.juphoon.lemon.MtcCall.Mtc_SessRecCallStart (String pcFileName, short ucFileType ) static

MTC 会话停止录制播放。

参数
[in]dwSessId你想要停止录制的会话的 ID, 若 dwSessId 无效,停止录制混合播放。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。 public static int Mtc_SessRecPlayStop(int dwSessId) { return MtcCallJNI.Mtc_SessRecPlayStop(dwSessId); }

/** 录制呼叫开始。

它将从呼叫录制到文件。

参数
[in]pcFileName录音文件名称。
[in]ucFileType录音文件类型,MtcMediaConstants.EN_MTC_MFILE_UNKNOW
返回值
MtcCommonConstants::ZOK语音录制成功。
MtcCommonConstants::ZFAILED语音录制失败。
参见
MtcCall.Mtc_SessRecCallStop
static int com.juphoon.lemon.MtcCall.Mtc_SessRecCallStop () static

录音停止。

参见
MtcCall.Mtc_SessRecCallStart
static int com.juphoon.lemon.MtcCall.Mtc_SessRecMicStart (String pcFileName, short ucFileType ) static

录制麦克风开始。

它将从麦克风录制到文件。

参数
[in]pcFileName录制文件名称。
[in]ucFileType录制文件类型, MtcMediaConstants.EN_MTC_MFILE_UNKNOW
返回值
MtcCommonConstants::ZOK音频录制成功。
MtcCommonConstants::ZFAILED音频录制失败。
参见
MtcCall.Mtc_SessRecMicStop
static int com.juphoon.lemon.MtcCall.Mtc_SessRecMicStop () static

录制音频停止。

参见
MtcCall.Mtc_SessRecMicStart
static int com.juphoon.lemon.MtcCall.Mtc_SessRecPlayStart (int dwSessId, String pcFileName, short ucFileType ) static

MTC 会话录音播放。

参数
[in]dwSessId你想要录音的会话的 ID。 若 dwSessId 无效,录制混合播放。
[in]pcFileName录音文件名称。
[in]ucFileType录音文件类型, MtcMediaConstants.EN_MTC_MFILE_UNKNOW
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
static int com.juphoon.lemon.MtcCall.Mtc_SessRecRecvVideoStart (int dwSessId, String pcFileName, short ucFileType, int iWidth, int iHeight, boolean bWithAudio ) static

MTC 会话开始录制呼入视频。

参数
[in]dwSessId会话 ID。
[in]pcFileName存储录制数据的文件名称。
[in]ucFileType文件类型, MtcMediaConstants::EN_MTC_MFILE_UNKNOW。
[in]iWidth录制数据的视频像素宽度。
[in]iHeight录制数据的视频像素高度。
[in]bWithAudiotrueZTRUE 录制音频数据。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
参见
MtcCall.Mtc_SessRecRecvVideoStop
static int com.juphoon.lemon.MtcCall.Mtc_SessRecRecvVideoStop (int dwSessId) static

MTC 会话停止录制呼入视频。

参数
[in]dwSessId会话 ID。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
参见
MtcCall.Mtc_SessRecRecvVideoStart
static int com.juphoon.lemon.MtcCall.Mtc_SessRecSendVideoStart (int dwSessId, String pcFileName, short ucFileType, int iWidth, int iHeight, boolean bWithAudio ) static

MTC 会话开始录制发送视频。

参数
[in]dwSessId会话 ID。
[in]pcFileName存储录制数据的文件名称。
[in]ucFileType文件类型,MtcMediaConstants::EN_MTC_MFILE_UNKNOW。
[in]iWidth录制数据视频像素宽度。
[in]iHeight录制数据视频像素高度。
[in]bWithAudiotrue 录制音频数据。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
参见
MtcCall.Mtc_SessRecSendVideoStop
static int com.juphoon.lemon.MtcCall.Mtc_SessRecSendVideoStop (int dwSessId) static

MTC 会话停止录制正在发送的视频。

参数
[in]dwSessId会话 ID。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
参见
MtcCall.Mtc_SessRecSendVideoStart
static int com.juphoon.lemon.MtcCall.Mtc_SessRecSndStart (int dwSessId, String pcFileName, short ucFileType, int dwRecMode ) static

Mtc 会话开始录制声音。

参数
[in]dwSessId你想要录制的会话的 ID。
[in]pcFileName录音文件名称。
[in]ucFileType录音文件类型,MtcMediaConstants::EN_MTC_MFILE_UNKNOW。
[in]dwRecMode录音模式。MtcCallConstants::EN_MTC_CALL_REC_MODE_ALL。
参见
MtcCall.Mtc_SessRecSndStop
static int com.juphoon.lemon.MtcCall.Mtc_SessRecSndStop (int dwSessId) static

Mtc 会话停止录制声音。

参数
[in]dwSessId会话 ID。
参见
MtcCall.Mtc_SessRecSndStart
static int com.juphoon.lemon.MtcCall.Mtc_SessRenderAdd (int dwSessId, Object dwHandle, short wX, short wY, int wWidth, int wHeight ) static

MTC 会话设置远程图片的渲染区域。

参数
[in]dwSessId会话 ID。
[in]dwHandle显示远程图片的窗口句柄。
[in]wX远程图片左上角 X 值。
[in]wY远程图片左上角 Y 值。
[in]wWidth远程图片宽度。
[in]wHeight远程图片高度。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
static int com.juphoon.lemon.MtcCall.Mtc_SessRenderBuild (int dwSessId) static

MTC 会话建立渲染显示图片。

要在调用 MtcCall::Mtc_SessVideoStart 后更改渲染窗口,用户应:

  1. 调用 MtcCall.Mtc_SessPreviewShow 隐藏预览。
  2. 调用 MtcCall.Mtc_SessRenderRelease 释放渲染显示图片。
  3. 调用 MtcCall.Mtc_SessPreviewSetArea 设置新显示窗口。
  4. 调用 MtcCall.Mtc_SessRenderReset 重设区域数据。
  5. 调用 MtcCall.Mtc_SessRenderAdd 为远程图像添加新窗口句柄。
  6. 调用 MtcCall.Mtc_SessRenderBuild 重建渲染显示图片。
  7. 调用 MtcCall.Mtc_SessPreviewShow 显示预览。
参数
[in]dwSessId会话 ID。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
static int com.juphoon.lemon.MtcCall.Mtc_SessRenderRelease (int dwSessId) static

MTC 会话释放渲染显示图片。

要在调用 MtcCall::Mtc_SessVideoStart 后更改渲染窗口,用户应:

  1. Invoke MtcCall.Mtc_SessPreviewShow 隐藏预览。
  2. Invoke MtcCall.Mtc_SessRenderRelease 释放渲染显示图片。
  3. Invoke MtcCall.Mtc_SessPreviewSetArea 设置新显示窗口。
  4. Invoke MtcCall.Mtc_SessRenderReset 重设区域数据。
  5. Invoke MtcCall.Mtc_SessRenderAdd 为远程图像添加新窗口句柄。
  6. Invoke MtcCall.Mtc_SessRenderBuild 重建渲染显示图片。
  7. Invoke MtcCall.Mtc_SessPreviewShow 显示预览。
参数
[in]dwSessId会话 ID。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
static int com.juphoon.lemon.MtcCall.Mtc_SessRenderReset (int dwSessId) static

MTC 会话充塞远程图片的渲染区域设置。

参数
[in]dwSessId会话 ID。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
static int com.juphoon.lemon.MtcCall.Mtc_SessRenderSnapshot (int dwSessId, String pcFileName ) static

抓拍显示渲染。

参数
[in]dwSessId会话 ID。
[in]pcFileName存储照片的文件名称。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
参见
MtcCall.Mtc_SessCaptureSnapshot
static int com.juphoon.lemon.MtcCall.Mtc_SessRotateLocal (int dwSessId, int iOrientation ) static

MTC 会话旋转本地图片方向。

参数
[in]dwSessId你想要设置的会话的 ID。
[in]iOrientation图片方向。 MtcMediaConstants::EN_MTC_ORIENTATION_PORTRAIT。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
static int com.juphoon.lemon.MtcCall.Mtc_SessRotateRemote (int dwSessId, int iOrientation ) static

MTC 会话旋转远程图片方向。

参数
[in]dwSessId你想要设置的会话的 ID。
[in]iOrientation图片方向。 MtcMediaConstants::EN_MTC_ORIENTATION_PORTRAIT。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
static int com.juphoon.lemon.MtcCall.Mtc_SessSetCookie (int dwSessId, Object zCookie ) static

MTC 会话设置 cookie 值。

参数
[in]dwSessId你想要设置 cookie 值的会话的 ID。
[in]zCookie你想要设置的 cookie。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
参见
MtcCall.Mtc_SessCall, MtcCall.Mtc_SessAnswer, MtcCall.Mtc_SessGetCookie
static int com.juphoon.lemon.MtcCall.Mtc_SessSetMicMute (int dwSessId, boolean bMute ) static

MTC 会话设置麦克风静音状态。

参数
[in]dwSessId你想要设置的会话的 ID。
[in]bMute指麦克风是否静音。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
参见
MtcCall.Mtc_SessGetMicMute
static int com.juphoon.lemon.MtcCall.Mtc_SessSetMicScale (int dwSessId, float fScale ) static

MTC 会话设置麦克风范围。

参数
[in]dwSessId你想要设置的会话的 ID。
[in]fScale范围值,从 0.0 到 10.0, 1.0 表示没有缩放。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
参见
MtcCall.Mtc_SessGetMicScale
static int com.juphoon.lemon.MtcCall.Mtc_SessSetMixVoice (int dwSessId, boolean bEnable ) static

MTC 会话设置混音状态。

参数
[in]dwSessId你想要设置的会话的 ID。
[in]bEnable值是否混音。若为 ZTRUE,它将混合相应 会话语音。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
static int com.juphoon.lemon.MtcCall.Mtc_SessSetRxAgcEnable (int dwSessId, boolean bEnable ) static

MTC 会话设置接收侧 AGC 状态。

参数
[in]dwSessId会话 ID。
[in]bEnableZTRUE Rx-AGC可用,ZFALSE Rx-AGC 不可用。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
参见
MtcCall.Mtc_SessGetRxAgcEnable
static int com.juphoon.lemon.MtcCall.Mtc_SessSetRxAgcMode (int dwSessId, short ucMode ) static

MTC 会话获取接收侧 AGC 模式。

参数
[in]dwSessId会话 ID。
[in]ucModeRx-AGC 模式,MtcMediaConstants::EN_MTC_RX_GC_FIXED。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
参见
MtcCall.Mtc_SessGetRxAgcMode
static int com.juphoon.lemon.MtcCall.Mtc_SessSetRxAgcTarget (int dwSessId, int wTargetDb ) static

MTC 会话设置接收侧 AGC 目标 dBOV。

参数
[in]dwSessId会话 ID。
[in]wTargetDbRx-AGC 目标 dBOV。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
参见
MtcCall.Mtc_SessGetRxAgcTarget
static int com.juphoon.lemon.MtcCall.Mtc_SessSetRxAnrEnable (int dwSessId, boolean bEnable ) static

MTC 会话设置接收侧 ANR 状态。

参数
[in]dwSessId会话 ID。
[in]bEnableZTRUE 可用 Rx-ANR, ZFALSE 不可用 Rx-ANR。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
参见
MtcCall.Mtc_SessGetRxAnrEnable
static int com.juphoon.lemon.MtcCall.Mtc_SessSetRxAnrMode (int dwSessId, short ucMode ) static

MTC 会话获取接收侧 ANR 模式。

参数
[in]dwSessId会话 ID。
[in]ucModeRx-ANR 模式,MtcMediaConstants::EN_MTC_NS_LOW。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
参见
MtcCall.Mtc_SessGetRxAnrMode
static int com.juphoon.lemon.MtcCall.Mtc_SessSetSpkMute (int dwSessId, boolean bMute ) static

MTC 会话设置扬声器静音状态。

参数
[in]dwSessId你想要设置的会话的 ID。
[in]bMute指扬声器是否静音。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
参见
MtcCall.Mtc_SessGetSpkMute
static int com.juphoon.lemon.MtcCall.Mtc_SessSetSpkScale (int dwSessId, float fScale ) static

MTC 会话设置扬声器范围。

参数
[in]dwSessId你想要设置的会话的 ID。
[in]fScale范围值,从 0.0 到 10.0,1.0 表示没有缩放。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
参见
MtcCall.Mtc_SessGetSpkScale
static int com.juphoon.lemon.MtcCall.Mtc_SessSetSpkVol (int dwSessId, int iVol ) static

MTC 会话设置扬声器音量。

参数
[in]dwSessId你想要设置的会话的 ID。
[in]iVol音量值,从 0 到 20。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
参见
MtcCall.Mtc_SessGetSpkVol
static int com.juphoon.lemon.MtcCall.Mtc_SessSetVadEnable (int dwSessId, boolean bEnable ) static

MTC 会话设置 VAD 状态。

参数
[in]dwSessId会话 ID。
[in]bEnabletrue 可用 VAD,false 不可用 VAD。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
参见
MtcCall.Mtc_SessGetVadEnable
static int com.juphoon.lemon.MtcCall.Mtc_SessSetVadMode (int dwSessId, short ucMode ) static

MTC 会话设置 VAD 模式。

参数
[in]dwSessId会话 ID。
[in]ucModeVAD 模式,MtcMediaConstants::EN_MTC_VAD_NORMAL。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
参见
MtcCall.Mtc_SessGetVadMode
static int com.juphoon.lemon.MtcCall.Mtc_SessTerm (int dwSessId, int dwReason ) static

MTC 会话终止。

参数
[in]dwSessId你想要终止的会话的 ID。
[in]dwReason指终止原因,它可能触发一些 S-CSCF 中的业务,见 MtcCallConstants::EN_MTC_CALL_TERM_REASON_NORMAL。
返回值
MtcCommonConstants::ZOK若成功
MtcCommonConstants::ZFAILED若失败。

事实上 Mtc_SessTerm 不释放所有分配给这一会话的资源。 它只开启终止程序。所有资源将在 程序结束时自动被释放。

参见
MtcCall.Mtc_SessCall, MtcCall.Mtc_SessAnswer...
static int com.juphoon.lemon.MtcCall.Mtc_SessUnhold (int dwSessId) static

MTC 会话取消保持。

若发送会话取消保持成功,GUI 将由 mtcCallCbUnHoldOk 所设置的回调通知。

若发送会话取消保持失败,GUI 将由 mtcCallCbUnHoldFailed 所设置的回调通知。

当接收会话取消保持,GUI 将由 mtcCallCbUnHeld 所设置的回调通知。

参数
[in]dwSessId你想要取消保持的会话的 ID。你想要取消保持的会话的 ID。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
参见
MtcCall.Mtc_SessUnhold
static int com.juphoon.lemon.MtcCall.Mtc_SessUpdate (int dwSessId, boolean bAudio, boolean bVideo ) static

MTC 会话发送一个多媒体更新请求给对方。 此函数内的更新说明打开一个新媒体流或关闭已存在的 媒体流。

若发送更新成功,GUI 将由 mtcCallCbAddAudioOk, mtcCallCbRmvAudioOk, mtcCallCbAddVideoOk, mtcCallCbRmvVideoOk 所设置的回调通知。

若发送更新失败,GUI 将由 mtcCallCbAddAudioFailed, mtcCallCbRmvAudioFailed, mtcCallCbAddVideoFailed, mtcCallCbRmvVideoFailed 所设置的回调通知。

当接收更新,GUI 将由 mtcCallCbAddAudioReq, mtcCallCbAddVideoReq 所设置的回调通知。

参数
[in]dwSessId你想要更新媒体的会话的 ID。
[in]bAudio指你是否想在更新后有音频流。
[in]bVideo指你是否想在更新后有视频流。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。

若更新请求被对方接受,将有一个由 mtcCallCbMdfyAcpt 所设回调通知的说明。

参见
MtcCall.Mtc_SessUpdateRsp, mtcCallCbMdfyAcpt
static int com.juphoon.lemon.MtcCall.Mtc_SessUpdateRsp (int dwSessId, boolean bAudio, boolean bVideo ) static

MTC 会话应答对方发出的媒体更新请求。 此函数中的更新说明打开一个新的媒体流或关闭一个 已存在的媒体流。

若发送协商成功,GUI 将由 mtcCallCbMdfyed 所设置的回调通知。

参数
[in]dwSessId你想要接收媒体更新的会话 ID。
[in]bAudio指你是否想要在更新后有音频流。
[in]bVideo指你是否想要在更新后有视频流。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
参见
MtcCall.Mtc_SessUpdate, mtcCallCbMdfyReq
static int com.juphoon.lemon.MtcCall.Mtc_SessUTrsf (int dwSessId, String pcUri ) static

MTC 会话无人转发。

若无人转发成功,GUI 将由 mtcCallCbTrsfAcpt 所设置的回调通知。

若无人转发失败,GUI 将由 mtcCallCbTrsfFailed, mtcCallCbTrsfTerm 所设置的回调通知。

当接收无人转发时,GUI 将由 mtcCallCbRefered 所设置的回调通知。

参数
[in]dwSessId你想要无人转发的会话的 ID。
[in]pcUri你想要转发此会话的目标 URI。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。

在这一操作后,会话将被服务器终止。

参见
MtcCall.Mtc_SessATrsf
static int com.juphoon.lemon.MtcCall.Mtc_SessVideoJitter (int dwSessId) static

MTC 获取视频流震动。

参数
[in]dwSessId会话 ID。
返回
以毫秒为单位震动。
参见
MtcCall.Mtc_SessAudioJitter
static int com.juphoon.lemon.MtcCall.Mtc_SessVideoLostCount (int dwSessId) static

MTC 获取视频流的丢失数量。

参数
[in]dwSessId会话 ID。
返回
总丢失数量。
参见
MtcCall.Mtc_SessAudioLostCount
static int com.juphoon.lemon.MtcCall.Mtc_SessVideoLostRatio (int dwSessId) static

MTC 获取视频流中的百分比丢失率。

参数
[in]dwSessId会话 ID。
返回
百分比丢失率(0-1000)。
参见
MtcCall.Mtc_SessAudioLostRatio
static int com.juphoon.lemon.MtcCall.Mtc_SessVideoResume (int dwSessId) static

MTC 会话暂停发送视频。

参数
[in]dwSessId你想要停止视频传输的会话 ID。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。 public static int Mtc_SessVideoPause(int dwSessId) { return MtcCallJNI.Mtc_SessVideoPause(dwSessId); }

/** MTC 会话续传视频。

参数
[in]dwSessId你想要停止视频传输的会话 ID。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
static int com.juphoon.lemon.MtcCall.Mtc_SessVideoRtt (int dwSessId) static

MTC 获取视频流往返一次时间。

参数
[in]dwSessId会话 ID。
返回
以毫秒为单位往返一次时间。
参见
MtcCall.Mtc_SessAudioRtt
static int com.juphoon.lemon.MtcCall.Mtc_SessVideoStop (int dwSessId) static

MTC 会话开始视频传输。

参数
[in]dwSessId你想要开始视频传输的会话 ID。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。 public static int Mtc_SessVideoStart(int dwSessId) { return MtcCallJNI.Mtc_SessVideoStart(dwSessId); }

/** MTC 会话停止视频传输。

参数
[in]dwSessId你想要停止视频传输的会话 ID。
返回值
MtcCommonConstants::ZOK若成功。
MtcCommonConstants::ZFAILED若失败。
Juphoon © 2015 中文(简体)
关于我们 JusTalk 开发人员 招聘 隐私政策