public static ErrorNumber EnableMediaQoE(VideoDataCapturedCallback videoDataCaptured, VideoDataRenderedCallback videoDataRendered, SpeakerDataReceivedCallback speakerDataReceived, MicrophoneDataSentCallback microphoneDataSent, DataEncodedCallback dataEncoded, DataDecodedCallback dataDecoded, RtpPacketReceivedCallback rtpPacketReceived, RtpPacketSentCallback rtpPacketSent, QoEType type) { return((ErrorNumber)PlcmHelper.enableMediaQoE(videoDataCaptured, videoDataRendered, speakerDataReceived, microphoneDataSent, dataEncoded, dataDecoded, rtpPacketReceived, rtpPacketSent, (int)type)); }
/// <summary> /// /// </summary> /// <param name="callhandle"></param> /// <param name="selectMode">0:自动,1:手动</param> /// <param name="streamNumber"></param> /// <returns></returns> public static ErrorNumber SetRemoteVideoStreamNumber(int callhandle, int selectMode, int streamNumber) { return((ErrorNumber)PlcmHelper.setRemoteVideoStreamNumber(callhandle, selectMode, streamNumber)); }
public static ErrorNumber HoldCall(int callHandle) { return((ErrorNumber)PlcmHelper.holdCall(callHandle)); }
public static ErrorNumber AttachStreamWnd(MediaType mediaType, int streamId, int callHandle, IntPtr windowHandle, int x, int y, int width, int height) { return((ErrorNumber)PlcmHelper.setStreamInfo((int)mediaType, streamId, callHandle, windowHandle, x, y, width, height)); }
public static ErrorNumber TerminateCall(int callHandle) { return((ErrorNumber)PlcmHelper.terminateCall(callHandle)); }
public static ErrorNumber SetVideoDevice(string cameraHandle) { return((ErrorNumber)PlcmHelper.setVideoDevice(cameraHandle)); }
public static ErrorNumber startHttpTunnelAutoDiscovery(string destAddress, string destPort, string regId, string destUser) { return((ErrorNumber)PlcmHelper.startHttpTunnelAutoDiscovery(destAddress, destPort, regId, destUser)); }
public static ErrorNumber SetCertificateChoice(string certFingerPrint, int confirmId, CertificateChoiceType userChoice) { return((ErrorNumber)PlcmHelper.setCertificateChoice(certFingerPrint, confirmId, (int)userChoice)); }
public static ErrorNumber SetConfigFilePath(string filePath) { return((ErrorNumber)PlcmHelper.setConfigFilePath(filePath)); }
public static ErrorNumber ChangeCallMode(int callHandle, CallMode callmode) { return((ErrorNumber)PlcmHelper.changeCallMode(callHandle, (int)callmode)); }
public static ErrorNumber PopupCameraPropertyAdvancedSettings(IntPtr winHandle) { return((ErrorNumber)PlcmHelper.popupCameraPropertyAdvancedSettings(winHandle)); }
public static ErrorNumber StopPlayAlert() { return((ErrorNumber)PlcmHelper.stopPlayAlert()); }
public static ErrorNumber StartPlayAlert(string filePath, bool isLoop, int interval) { return((ErrorNumber)PlcmHelper.startPlayAlert(filePath, isLoop, interval)); }
public static ErrorNumber Initialize() { return((ErrorNumber)PlcmHelper.initialize()); }
public static ErrorNumber DisableRecordAudioStreamCallback(int callHandle) { return((ErrorNumber)PlcmHelper.disableRecordAudioStreamCallback(callHandle)); }
public static IntPtr StartTranscoder(int audioOnly, LayoutType layoutType, int resoFormat, int bitRate, int frameRate, int keyFrameInterval, string inputFileName, string outputFileName, ref int errNo) { return(PlcmHelper.startTranscoder(audioOnly, (int)layoutType, resoFormat, bitRate, frameRate, keyFrameInterval, inputFileName, outputFileName, ref errNo)); }
public static ErrorNumber SetStaticImage(IntPtr buffer, int length, int width, int height) { return((ErrorNumber)PlcmHelper.setStaticImage(buffer, length, width, height)); }
public static ErrorNumber StopTranscoder(IntPtr taskHandle) { return((ErrorNumber)PlcmHelper.stopTranscoder(taskHandle)); }
public static ErrorNumber DisableMediaQoE(QoEType type) { return((ErrorNumber)PlcmHelper.disableMediaQoE((int)type)); }
public static ErrorNumber GetProgressOfTranscoder(IntPtr taskHandle, ref int percentage) { return((ErrorNumber)PlcmHelper.getProgressOfTranscoder(taskHandle, ref percentage)); }
public static ErrorNumber SetAudioDeviceForRingtone(string speakerHandle) { return((ErrorNumber)PlcmHelper.setAudioDeviceForRingtone(speakerHandle)); }
public static ErrorNumber SetCallStream(CallStreamType type, string filePath) { return((ErrorNumber)PlcmHelper.setCallStream((int)type, filePath)); }
public static ErrorNumber PlaceCall(string callee, ref int callHandle, CallMode callMode) { return((ErrorNumber)PlcmHelper.placeCall(callee, ref callHandle, (int)callMode)); }
public static ErrorNumber SetAudioDevice(string micHandle, string speakerHandle) { return((ErrorNumber)PlcmHelper.setAudioDevice(micHandle, speakerHandle)); }
public static ErrorNumber AnswerCall(int callHandle, CallMode callMode, string authToken, string cryptoSuiteType, string srtpKey, bool sutLiteEnable) { return((ErrorNumber)PlcmHelper.answerCall(callHandle, (int)callMode, authToken, cryptoSuiteType, srtpKey, sutLiteEnable)); }
public static ErrorNumber ClearCallStream(CallStreamType type) { return((ErrorNumber)PlcmHelper.clearCallStream((int)type)); }
public static ErrorNumber DetachStreamWnd(MediaType mediaType, int streamId, int callHandle) { return((ErrorNumber)PlcmHelper.detachStreamWnd((int)mediaType, streamId, callHandle)); }
public static ErrorNumber EnableRecordAudioStreamCallback(int callHandle, RecordAudioStreamCallback callBack, int format, int interval) { return((ErrorNumber)PlcmHelper.enableRecordAudioStreamCallback(callHandle, callBack, format, interval)); }
public static ErrorNumber ResumeCall(int callHandle) { return((ErrorNumber)PlcmHelper.resumeCall(callHandle)); }
public static ErrorNumber SetRemoteOneSVCVideoStream(int callhandle, int selectMode, int streamId, bool isActiveSpeaker) { return((ErrorNumber)PlcmHelper.setRemoteOneSVCVideoStream(callhandle, selectMode, streamId, isActiveSpeaker)); }