首页 > 其他分享 >linphone-LinphoneProxyConfigImpl文件对应的JNI层文件分析

linphone-LinphoneProxyConfigImpl文件对应的JNI层文件分析

时间:2023-06-02 20:01:51浏览次数:67  
标签:文件 LinphoneProxyConfigImpl int void long nativePtr private JNI native


说明

native 函数

private native long newLinphoneCore(LinphoneCoreListener listener,String userConfig,String factoryConfig,Object  userdata);
	private native void iterate(long nativePtr);
	private native LinphoneProxyConfig getDefaultProxyConfig(long nativePtr);

	private native void setDefaultProxyConfig(long nativePtr,long proxyCfgNativePtr);
	private native int addProxyConfig(LinphoneProxyConfig jprtoxyCfg,long nativePtr,long proxyCfgNativePtr);
	private native void removeProxyConfig(long nativePtr, long proxyCfg);
	private native void clearAuthInfos(long nativePtr);

	private native void clearProxyConfigs(long nativePtr);
	private native void addAuthInfo(long nativePtr,long authInfoNativePtr);
	private native void removeAuthInfo(long nativePtr, long authInfoNativePtr);
	private native Object invite(long nativePtr,String uri);
	private native void terminateCall(long nativePtr, long call);
	private native long getRemoteAddress(long nativePtr);
	private native boolean  isInCall(long nativePtr);
	private native boolean isInComingInvitePending(long nativePtr);
	private native void acceptCall(long nativePtr, long call);
	private native long getCallLog(long nativePtr,int position);
	native private long[] getCallLogs(long nativePtr);
	private native int getNumberOfCallLogs(long nativePtr);
	private native long getLastOutgoingCallLog(long nativePtr);
	private native void delete(long nativePtr);
	private native void setNetworkStateReachable(long nativePtr,boolean isReachable);
	private native boolean isNetworkStateReachable(long nativePtr);
	private native void setPlaybackGain(long nativeptr, float gain);
	private native float getPlaybackGain(long nativeptr);
	private native void muteMic(long nativePtr,boolean isMuted);
	private native long interpretUrl(long nativePtr,String destination);
	private native Object inviteAddress(long nativePtr,long to);
	private native Object inviteAddressWithParams(long nativePtrLc,long to, long nativePtrParam);
	private native void sendDtmf(long nativePtr,char dtmf);
	private native void clearCallLogs(long nativePtr);
	private native boolean isMicMuted(long nativePtr);
	private native long findPayloadType(long nativePtr, String mime, int clockRate, int channels);
	private native int enablePayloadType(long nativePtr, long payloadType,	boolean enable);
	private native boolean isPayloadTypeEnabled(long nativePtr, long payloadType);
	private native boolean payloadTypeIsVbr(long nativePtr, long payloadType);
	private native void enableAdaptiveRateControl(long nativePtr,boolean enable);
	private native boolean isAdaptiveRateControlEnabled(long nativePtr);
	private native String getAdaptiveRateAlgorithm(long nativePtr);
	private native void setAdaptiveRateAlgorithm(long nativePtr, String alg);
	private native void enableEchoCancellation(long nativePtr,boolean enable);
	private native boolean isEchoCancellationEnabled(long nativePtr);
	private native Object getCurrentCall(long nativePtr) ;
	private native void playDtmf(long nativePtr,char dtmf,int duration);
	private native void stopDtmf(long nativePtr);
	private native void setVideoWindowId(long nativePtr, Object wid);
	private native void setPreviewWindowId(long nativePtr, Object wid);
	private native void setDeviceRotation(long nativePtr, int rotation);
	private native void addFriend(long nativePtr,long friend);
	private native void addFriendList(long nativePtr,long friendList);
	private native void removeFriendList(long nativePtr,long friendList);
	private native LinphoneFriend[] getFriendList(long nativePtr);
	private native void setPresenceInfo(long nativePtr, int minutes_away, String alternative_contact, int status);
	private native int getPresenceInfo(long nativePtr);
	private native void setPresenceModel(long nativePtr, long presencePtr);
	private native Object getPresenceModel(long nativePtr);
	private native long getOrCreateChatRoom(long nativePtr,String to);
	private native long getChatRoom(long nativePtr,long to);
	private native void enableVideo(long nativePtr,boolean vcap_enabled,boolean display_enabled);
	private native boolean isVideoEnabled(long nativePtr);
	private native boolean isVideoSupported(long nativePtr);
	private native void setFirewallPolicy(long nativePtr, int enum_value);
	private native int getFirewallPolicy(long nativePtr);
	private native void setStunServer(long nativePtr, String stun_server);
	private native String getStunServer(long nativePtr);
	private native int updateCall(long ptrLc, long ptrCall, long ptrParams);
	private native int getUploadBandwidth(long nativePtr);
	private native void setUploadBandwidth(long nativePtr, int bw);
	private native int getDownloadBandwidth(long nativePtr);
	private native void setDownloadBandwidth(long nativePtr, int bw);
	private native void setPreferredVideoSize(long nativePtr, int width, int heigth);
	private native void setPreferredVideoSizeByName(long nativePtr, String name);
	private native int[] getPreferredVideoSize(long nativePtr);
	private native void setRing(long nativePtr, String path);
	private native String getRing(long nativePtr);
	private native void setRootCA(long nativePtr, String path);
	private native void setRingback(long nativePtr, String path);
	private native long[] listVideoPayloadTypes(long nativePtr);
	private native void setVideoCodecs(long nativePtr, long[] codecs);
	private native LinphoneProxyConfig[] getProxyConfigList(long nativePtr);
	private native long[] getAuthInfosList(long nativePtr);
	private native long findAuthInfos(long nativePtr, String username, String realm, String domain);
	private native long[] listAudioPayloadTypes(long nativePtr);
	private native void setAudioCodecs(long nativePtr, long[] codecs);
	private native void enableKeepAlive(long nativePtr,boolean enable);
	private native boolean isKeepAliveEnabled(long nativePtr);
	private native int startEchoCalibration(long nativePtr,Object data);
	private native int getSignalingTransportPort(long nativePtr, int code);
	private native void setSignalingTransportPorts(long nativePtr, int udp, int tcp, int tls);
	private native void enableIpv6(long nativePtr,boolean enable);
	private native boolean isIpv6Enabled(long nativePtr);
	private native int pauseCall(long nativePtr, long callPtr);
	private native int pauseAllCalls(long nativePtr);
	private native int resumeCall(long nativePtr, long callPtr);
	private native void setUploadPtime(long nativePtr, int ptime);
	private native void setDownloadPtime(long nativePtr, int ptime);
	private native void setZrtpSecretsCache(long nativePtr, String file);
	private native void enableEchoLimiter(long nativePtr2, boolean val);
	private native int setVideoDevice(long nativePtr2, int id);
	private native int getVideoDevice(long nativePtr2);
	private native int getMediaEncryption(long nativePtr);
	private native void setMediaEncryption(long nativePtr, int menc);
	private native boolean isMediaEncryptionMandatory(long nativePtr);
	private native void setMediaEncryptionMandatory(long nativePtr, boolean yesno);
	private native void removeCallLog(long nativePtr, long callLogPtr);
	private native int getMissedCallsCount(long nativePtr);
	private native void resetMissedCallsCount(long nativePtr);
	private native String getVersion(long nativePtr);
	private native void setAudioPort(long nativePtr, int port);
	private native void setVideoPort(long nativePtr, int port);
	private native void setAudioPortRange(long nativePtr, int minPort, int maxPort);
	private native void setVideoPortRange(long nativePtr, int minPort, int maxPort);
	private native void setIncomingTimeout(long nativePtr, int timeout);
	private native void setInCallTimeout(long nativePtr, int timeout);
	private native void setPrimaryContact2(long nativePtr, String contact);
	private native String getPrimaryContact(long nativePtr);
	private native void setPrimaryContact(long nativePtr, String displayName, String username);
	private native String getPrimaryContactUsername(long nativePtr);
	private native String getPrimaryContactDisplayName(long nativePtr);
	private native void setChatDatabasePath(long nativePtr, String path);
	private native void setCallLogsDatabasePath(long nativePtr, String path);
	private native void setFriendsDatabasePath(long nativePtr, String path);
	private native long[] getChatRooms(long nativePtr);
	private native int migrateToMultiTransport(long nativePtr);
	private native void migrateCallLogs(long nativePtr);
	private native void setCallErrorTone(long nativePtr, int reason, String path);
	private native void enableSdp200Ack(long nativePtr,boolean enable);
	private native boolean isSdp200AckEnabled(long nativePtr);
	private native void stopRinging(long nativePtr);
	private native static void setAndroidPowerManager(Object pm);
	private native void setAndroidWifiLock(long nativePtr,Object wifi_lock);
	private native void setAndroidMulticastLock(long nativePtr,Object multicast_lock);
	private native void forceSpeakerState(long nativePtr, boolean speakerOn);

private native LinphoneFriendList[] getFriendLists(long nativePtr);

private native void leaveConference(long nativePtr);

private native boolean enterConference(long nativePtr);

private native boolean isInConference(long nativePtr);

rivate native void terminateConference(long nativePtr);

	private native int getConferenceSize(long nativePtr);

private native LinphoneConference createConference(long corePtr, LinphoneConferenceParams params);


private native LinphoneConference getConference(long nativePtr);


private native int getCallsNb(long nativePtr);

private native void terminateAllCalls(long nativePtr);

private native Object getCall(long nativePtr, int position);

	private native void addAllToConference(long nativePtr);

private native void addToConference(long nativePtr, long nativePtrLcall);

private native void removeFromConference(long nativePtr, long nativeCallPtr);

private native int transferCall(long nativePtr, long callPtr, String referTo);

private native int transferCallToAnother(long nativePtr, long callPtr, long destPtr);

private native Object findCallFromUri(long nativePtr, String uri);

private native int getMaxCalls(long nativePtr);

private native boolean soundResourcesLocked(long nativePtr);

private native void setMaxCalls(long nativePtr, int max);

private native boolean isEchoLimiterEnabled(long nativePtr);

private native boolean mediaEncryptionSupported(long nativePtr, int menc);

private native void setPlayFile(long nativePtr, String path);

private native void tunnelAddServerAndMirror(long nativePtr, String host, int port, int mirror, int ms);

private native void tunnelAddServer(long nativePtr, long configPtr);

private native final TunnelConfig[] tunnelGetServers(long nativePtr);

private native void tunnelAutoDetect(long nativePtr);

private native void tunnelCleanServers(long nativePtr);

private native void tunnelEnable(long nativePtr, boolean enable);

private native void tunnelSetMode(long nativePtr, int mode);

private native int tunnelGetMode(long nativePtr);

private native void tunnelEnableSip(long nativePtr, boolean enable);

private native boolean tunnelSipEnabled(long nativePtr);

private native void acceptCallWithParams(long nativePtr, long aCall, long params);

private native void acceptCallUpdate(long nativePtr, long aCall, long params);


private native void deferCallUpdate(long nativePtr, long aCall);

private native void setVideoPolicy(long nativePtr, boolean autoInitiate, boolean autoAccept);

private native boolean getVideoAutoInitiatePolicy(long nativePtr);

private native boolean getVideoAutoAcceptPolicy(long nativePtr);

private native void setStaticPicture(long nativePtr, String path);

private native void setUserAgent(long nativePtr, String name, String version);

private native void setCpuCountNative(long nativePtr, int count);

private native void tunnelSetHttpProxy(long nativePtr, String proxy_host, int port,	String username, String password);

private native void refreshRegisters(long nativePtr);

private native void removeFriend(long ptr, long lf);

private native LinphoneFriend getFriendByAddress(long ptr, String sipUri);

private native void setMicrophoneGain(long ptr, float gain);

private native void setUseSipInfoForDtmfs(long ptr, boolean use);

private native boolean getUseSipInfoForDtmfs(long ptr);

private native void setUseRfc2833ForDtmfs(long ptr, boolean use);

private native boolean getUseRfc2833ForDtmfs(long ptr);

private native long getConfig(long ptr);

private native boolean needsEchoCalibration(long ptr);

private native boolean hasBuiltInEchoCanceler(long ptr);

private native void declineCall(long coreptr, long callptr, int reason);

private native boolean upnpAvailable(long ptr);

private native int getUpnpState(long ptr);

private native String getUpnpExternalIpaddress(long ptr);

private native int startConferenceRecording(long nativePtr, String path);

private native int stopConferenceRecording(long nativePtr);

private native void setSipDscp(long nativePtr, int dscp);

private native int getSipDscp(long nativePtr);

private native void setAudioDscp(long nativePtr, int dscp);

private native int getAudioDscp(long nativePtr);

private native void setVideoDscp(long nativePtr, int dscp);

private native int getVideoDscp(long nativePtr);

private native long createInfoMessage(long nativeptr);

private native Object subscribe(long coreptr, long addrptr, String eventname, int expires, String type, String subtype, byte data [], String encoding);

	private native Object publish(long coreptr, long addrptr, String eventname, int expires, String type, String subtype, byte data [], String encoding);


private native Object createSubscribe(long core, long addr, String event, int expires);

private native Object createPublish(long core, long addr, String event, int expires);

private native LinphoneCall startReferedCall(long corePtr, long callptr, long paramsPtr);

private native String[] listSupportedVideoResolutions(long ptr);

private native boolean acceptEarlyMedia(long lc, long call);

private native boolean acceptEarlyMediaWithParams(long lc, long call, long params);

private native void setMtu(long nativePtr, int mtu);

private native int getMtu(long nativePtr);

private native void setTone(long nativePtr, int id, String wavfile);

private native void disableChat(long ptr, int denycode);

private native void enableChat(long ptr);

private native boolean chatEnabled(long ptr);

private native void setPayloadTypeBitrate(long coreptr, long payload_ptr, int bitrate);

private native int getPayloadTypeBitrate(long coreptr, long payload_ptr);

private native void setPayloadTypeNumber(long coreptr, long payload_ptr, int number);

private native int getPayloadTypeNumber(long coreptr, long payload_ptr);

private native void setAudioJittcomp(long ptr, int value);

private native void setVideoJittcomp(long ptr, int value);

private native void setFileTransferServer(long ptr, String serverUrl);

private native String getFileTransferServer(long ptr);

private native long createLocalPlayer(long nativePtr, AndroidVideoWindowImpl window);

private native void addListener(long nativePtr, LinphoneCoreListener listener);

private native void removeListener(long nativePtr, LinphoneCoreListener listener);

private native void setRemoteRingbackTone(long nativePtr, String file);

private native String getRemoteRingbackTone(long nativePtr);

private native void uploadLogCollection(long nativePtr);

public native void resetLogCollection();
	
	private native void setPreferredFramerate(long nativePtr, float fps);


private native float getPreferredFramerate(long nativePtr);

private native int setAudioMulticastAddr(long nativePtr, String ip);

private native int setVideoMulticastAddr(long nativePtr, String ip);

private native String getAudioMulticastAddr(long ptr);

private native String getVideoMulticastAddr(long ptr);

private native int setAudioMulticastTtl(long ptr,int ttl);

private native int setVideoMulticastTtl(long ptr,int ttl);

private native int getAudioMulticastTtl(long ptr);

private native int getVideoMulticastTtl(long ptr);

private native void enableAudioMulticast(long ptr,boolean yesno);

private native boolean audioMulticastEnabled(long ptr);

private native void enableVideoMulticast(long ptr,boolean yesno);

private native boolean videoMulticastEnabled(long ptr);

private native void enableDnsSrv(long ptr, boolean yesno);

private native boolean dnsSrvEnabled(long ptr);

private native void setVideoPreset(long nativePtr, String preset);

private native String getVideoPreset(long nativePtr);

private native long createCallParams(long nativePtr, long callPtr);

private native void setProvisioningUri(long nativePtr, String uri);

private native String getProvisioningUri(long nativePtr);

private native int getGlobalState(long nativePtr);

private native void setHttpProxyHost(long nativePtr, String host);

private native void setHttpProxyPort(long nativePtr, int port);

private native String getHttpProxyHost(long nativePtr);

private native int getHttpProxyPort(long nativePtr);

private native void setSipTransportTimeout(long nativePtr, int timeout_ms);

private native int getSipTransportTimeout(long nativePtr);


private native void setNortpTimeout(long nativePtr, int timeout);

private native int getNortpTimeout(long nativePtr);

private native void setSipNetworkReachable(long nativePtr, boolean isReachable);

private native void setMediaNetworkReachable(long nativePtr, boolean isReachable);

private native Object getMSFactory(long nativePtr);

private native void setDnsServers(long nativePtr, String servers[]);

private native void setUserCertificatesPath(long nativePtr, String path);

具体的函数分析

native long newLinphoneCore(LinphoneCoreListener listener,String userConfig,String factoryConfig,Object userdata)
native void iterate(long nativePtr)
native LinphoneProxyConfig getDefaultProxyConfig(long nativePtr)
native void setDefaultProxyConfig(long nativePtr,long proxyCfgNativePtr)
native int addProxyConfig(LinphoneProxyConfig jprtoxyCfg,long nativePtr,long proxyCfgNativePtr)
native void removeProxyConfig(long nativePtr, long proxyCfg)
native void clearAuthInfos(long nativePtr)
native void clearProxyConfigs(long nativePtr)
native void addAuthInfo(long nativePtr,long authInfoNativePtr)
native void removeAuthInfo(long nativePtr, long authInfoNativePtr)
native Object invite(long nativePtr,String uri)
native void terminateCall(long nativePtr, long call)
native long getRemoteAddress(long nativePtr)
native boolean isInCall(long nativePtr)
native boolean isInComingInvitePending(long nativePtr)
native void acceptCall(long nativePtr, long call)
native long getCallLog(long nativePtr,int position)
native long[] getCallLogs(long nativePtr)
native int getNumberOfCallLogs(long nativePtr)
native long getLastOutgoingCallLog(long nativePtr)
native void delete(long nativePtr)
native void setNetworkStateReachable(long nativePtr,boolean isReachable)
native boolean isNetworkStateReachable(long nativePtr)
native void setPlaybackGain(long nativeptr, float gain)
native float getPlaybackGain(long nativeptr)
native void muteMic(long nativePtr,boolean isMuted)
native long interpretUrl(long nativePtr,String destination)
native Object inviteAddress(long nativePtr,long to)
native Object inviteAddressWithParams(long nativePtrLc,long to, long nativePtrParam)
native void sendDtmf(long nativePtr,char dtmf)
native void clearCallLogs(long nativePtr)
native boolean isMicMuted(long nativePtr)
native long findPayloadType(long nativePtr, String mime, int clockRate, int channels)
native int enablePayloadType(long nativePtr, long payloadType, boolean enable)
native boolean isPayloadTypeEnabled(long nativePtr, long payloadType)
native boolean payloadTypeIsVbr(long nativePtr, long payloadType)
native void enableAdaptiveRateControl(long nativePtr,boolean enable)
native boolean isAdaptiveRateControlEnabled(long nativePtr)
native String getAdaptiveRateAlgorithm(long nativePtr)
native void setAdaptiveRateAlgorithm(long nativePtr, String alg)
native void enableEchoCancellation(long nativePtr,boolean enable)
native boolean isEchoCancellationEnabled(long nativePtr)
native Object getCurrentCall(long nativePtr)
native void playDtmf(long nativePtr,char dtmf,int duration)
native void stopDtmf(long nativePtr)
native void setVideoWindowId(long nativePtr, Object wid)
native void setPreviewWindowId(long nativePtr, Object wid)
native void setDeviceRotation(long nativePtr, int rotation)
native void addFriend(long nativePtr,long friend)
native void addFriendList(long nativePtr,long friendList)
native void removeFriendList(long nativePtr,long friendList)
native LinphoneFriend[] getFriendList(long nativePtr)
native void setPresenceInfo(long nativePtr, int minutes_away, String alternative_contact, int status)
native int getPresenceInfo(long nativePtr)
native void setPresenceModel(long nativePtr, long presencePtr)
native Object getPresenceModel(long nativePtr)
native long getOrCreateChatRoom(long nativePtr,String to)
native long getChatRoom(long nativePtr,long to)
native void enableVideo(long nativePtr,boolean vcap_enabled,boolean display_enabled)
native boolean isVideoEnabled(long nativePtr)
native boolean isVideoSupported(long nativePtr)
native void setFirewallPolicy(long nativePtr, int enum_value)
native int getFirewallPolicy(long nativePtr)
native void setStunServer(long nativePtr, String stun_server)
native String getStunServer(long nativePtr)
native int updateCall(long ptrLc, long ptrCall, long ptrParams)
native int getUploadBandwidth(long nativePtr)
native void setUploadBandwidth(long nativePtr, int bw)
native int getDownloadBandwidth(long nativePtr)
native void setDownloadBandwidth(long nativePtr, int bw)
native void setPreferredVideoSize(long nativePtr, int width, int heigth)
native void setPreferredVideoSizeByName(long nativePtr, String name)
native int[] getPreferredVideoSize(long nativePtr)
native void setRing(long nativePtr, String path)
native String getRing(long nativePtr)
native void setRootCA(long nativePtr, String path)
native void setRingback(long nativePtr, String path)
native long[] listVideoPayloadTypes(long nativePtr)
native void setVideoCodecs(long nativePtr, long[] codecs)
native LinphoneProxyConfig[] getProxyConfigList(long nativePtr)
native long[] getAuthInfosList(long nativePtr)
native long findAuthInfos(long nativePtr, String username, String realm, String domain)
native long[] listAudioPayloadTypes(long nativePtr)
native void setAudioCodecs(long nativePtr, long[] codecs)
native void enableKeepAlive(long nativePtr,boolean enable)
native boolean isKeepAliveEnabled(long nativePtr)
native int startEchoCalibration(long nativePtr,Object data)
native int getSignalingTransportPort(long nativePtr, int code)
native void setSignalingTransportPorts(long nativePtr, int udp, int tcp, int tls)
native void enableIpv6(long nativePtr,boolean enable)
native boolean isIpv6Enabled(long nativePtr)
native int pauseCall(long nativePtr, long callPtr)
native int pauseAllCalls(long nativePtr)
native int resumeCall(long nativePtr, long callPtr)
native void setUploadPtime(long nativePtr, int ptime)
native void setDownloadPtime(long nativePtr, int ptime)
native void setZrtpSecretsCache(long nativePtr, String file)
native void enableEchoLimiter(long nativePtr2, boolean val)
native int setVideoDevice(long nativePtr2, int id)
native int getVideoDevice(long nativePtr2)
native int getMediaEncryption(long nativePtr)
native void setMediaEncryption(long nativePtr, int menc)
native boolean isMediaEncryptionMandatory(long nativePtr)
native void setMediaEncryptionMandatory(long nativePtr, boolean yesno)
native void removeCallLog(long nativePtr, long callLogPtr)
native int getMissedCallsCount(long nativePtr)
native void resetMissedCallsCount(long nativePtr)
native String getVersion(long nativePtr)
native void setAudioPort(long nativePtr, int port)
native void setVideoPort(long nativePtr, int port)
native void setAudioPortRange(long nativePtr, int minPort, int maxPort)
native void setVideoPortRange(long nativePtr, int minPort, int maxPort)
native void setIncomingTimeout(long nativePtr, int timeout)
native void setInCallTimeout(long nativePtr, int timeout)
native void setPrimaryContact2(long nativePtr, String contact)
native String getPrimaryContact(long nativePtr)
native void setPrimaryContact(long nativePtr, String displayName, String username)
native String getPrimaryContactUsername(long nativePtr)
native String getPrimaryContactDisplayName(long nativePtr)
native void setChatDatabasePath(long nativePtr, String path)
native void setCallLogsDatabasePath(long nativePtr, String path)
native void setFriendsDatabasePath(long nativePtr, String path)
native long[] getChatRooms(long nativePtr)
native int migrateToMultiTransport(long nativePtr)
native void migrateCallLogs(long nativePtr)
native void setCallErrorTone(long nativePtr, int reason, String path)
native void enableSdp200Ack(long nativePtr,boolean enable)
native boolean isSdp200AckEnabled(long nativePtr)
native void stopRinging(long nativePtr)
native static void setAndroidPowerManager(Object pm)
native void setAndroidWifiLock(long nativePtr,Object wifi_lock)
native void setAndroidMulticastLock(long nativePtr,Object multicast_lock)
native void forceSpeakerState(long nativePtr, boolean speakerOn)
native LinphoneFriendList[] getFriendLists(long nativePtr)
native void leaveConference(long nativePtr)
native boolean enterConference(long nativePtr)
native boolean isInConference(long nativePtr)
native void terminateConference(long nativePtr)
native int getConferenceSize(long nativePtr)
native LinphoneConference createConference(long corePtr, LinphoneConferenceParams params)
native LinphoneConference getConference(long nativePtr)
native int getCallsNb(long nativePtr)
native void terminateAllCalls(long nativePtr)
native Object getCall(long nativePtr, int position)
native void addAllToConference(long nativePtr)
native void addToConference(long nativePtr, long nativePtrLcall)
native void removeFromConference(long nativePtr, long nativeCallPtr)
native int transferCall(long nativePtr, long callPtr, String referTo)
native int transferCallToAnother(long nativePtr, long callPtr, long destPtr)
native Object findCallFromUri(long nativePtr, String uri)
native int getMaxCalls(long nativePtr)
native boolean soundResourcesLocked(long nativePtr)
native void setMaxCalls(long nativePtr, int max)
native boolean isEchoLimiterEnabled(long nativePtr)
native boolean mediaEncryptionSupported(long nativePtr, int menc)
native void setPlayFile(long nativePtr, String path)
native void tunnelAddServerAndMirror(long nativePtr, String host, int port, int mirror, int ms)
native void tunnelAddServer(long nativePtr, long configPtr)
native final TunnelConfig[] tunnelGetServers(long nativePtr)
native void tunnelAutoDetect(long nativePtr)
native void tunnelCleanServers(long nativePtr)
native void tunnelEnable(long nativePtr, boolean enable)
native void tunnelSetMode(long nativePtr, int mode)
native int tunnelGetMode(long nativePtr)
native void tunnelEnableSip(long nativePtr, boolean enable)
native boolean tunnelSipEnabled(long nativePtr)
native void acceptCallWithParams(long nativePtr, long aCall, long params)
native void acceptCallUpdate(long nativePtr, long aCall, long params)
native void deferCallUpdate(long nativePtr, long aCall)
native void setVideoPolicy(long nativePtr, boolean autoInitiate, boolean autoAccept)
native boolean getVideoAutoInitiatePolicy(long nativePtr)
native boolean getVideoAutoAcceptPolicy(long nativePtr)
native void setStaticPicture(long nativePtr, String path)
native void setUserAgent(long nativePtr, String name, String version)
native void setCpuCountNative(long nativePtr, int count)
native void tunnelSetHttpProxy(long nativePtr, String proxy_host, int port, String username, String password)
native void refreshRegisters(long nativePtr)
native void removeFriend(long ptr, long lf)
native LinphoneFriend getFriendByAddress(long ptr, String sipUri)
native void setMicrophoneGain(long ptr, float gain)
native void setUseSipInfoForDtmfs(long ptr, boolean use)
native boolean getUseSipInfoForDtmfs(long ptr)
native void setUseRfc2833ForDtmfs(long ptr, boolean use)
native boolean getUseRfc2833ForDtmfs(long ptr)
native long getConfig(long ptr)
native boolean needsEchoCalibration(long ptr)
native boolean hasBuiltInEchoCanceler(long ptr)
native void declineCall(long coreptr, long callptr, int reason)
native boolean upnpAvailable(long ptr)
native int getUpnpState(long ptr)
native String getUpnpExternalIpaddress(long ptr)
native int startConferenceRecording(long nativePtr, String path)
native int stopConferenceRecording(long nativePtr)
native void setSipDscp(long nativePtr, int dscp)
native int getSipDscp(long nativePtr)
native void setAudioDscp(long nativePtr, int dscp)
native int getAudioDscp(long nativePtr)
native void setVideoDscp(long nativePtr, int dscp)
native int getVideoDscp(long nativePtr)
native long createInfoMessage(long nativeptr)
native Object subscribe(long coreptr, long addrptr, String eventname, int expires, String type, String subtype, byte data [], String encoding)
native Object publish(long coreptr, long addrptr, String eventname, int expires, String type, String subtype, byte data [], String encoding)
native Object createSubscribe(long core, long addr, String event, int expires)
native Object createPublish(long core, long addr, String event, int expires)
native LinphoneCall startReferedCall(long corePtr, long callptr, long paramsPtr)
native String[] listSupportedVideoResolutions(long ptr)
native boolean acceptEarlyMedia(long lc, long call)
native boolean acceptEarlyMediaWithParams(long lc, long call, long params)
native void setMtu(long nativePtr, int mtu)
native int getMtu(long nativePtr)
native void setTone(long nativePtr, int id, String wavfile)
native void disableChat(long ptr, int denycode)
native void enableChat(long ptr)
native boolean chatEnabled(long ptr)
native void setPayloadTypeBitrate(long coreptr, long payload_ptr, int bitrate)
native int getPayloadTypeBitrate(long coreptr, long payload_ptr)
native void setPayloadTypeNumber(long coreptr, long payload_ptr, int number)
native int getPayloadTypeNumber(long coreptr, long payload_ptr)
native void setAudioJittcomp(long ptr, int value)
native void setVideoJittcomp(long ptr, int value)
native void setFileTransferServer(long ptr, String serverUrl)
native String getFileTransferServer(long ptr)
native long createLocalPlayer(long nativePtr, AndroidVideoWindowImpl window)
native void addListener(long nativePtr, LinphoneCoreListener listener)
native void removeListener(long nativePtr, LinphoneCoreListener listener)
native void setRemoteRingbackTone(long nativePtr, String file)
native String getRemoteRingbackTone(long nativePtr)
native void uploadLogCollection(long nativePtr)
public native void resetLogCollection()
native void setPreferredFramerate(long nativePtr, float fps)
native float getPreferredFramerate(long nativePtr)
native int setAudioMulticastAddr(long nativePtr, String ip)
native int setVideoMulticastAddr(long nativePtr, String ip)
native String getAudioMulticastAddr(long ptr)
native String getVideoMulticastAddr(long ptr)
native int setAudioMulticastTtl(long ptr,int ttl)
native int setVideoMulticastTtl(long ptr,int ttl)
native int getAudioMulticastTtl(long ptr)
native int getVideoMulticastTtl(long ptr)
native void enableAudioMulticast(long ptr,boolean yesno)
native boolean audioMulticastEnabled(long ptr)
native void enableVideoMulticast(long ptr,boolean yesno)
native boolean videoMulticastEnabled(long ptr)
native void enableDnsSrv(long ptr, boolean yesno)
native boolean dnsSrvEnabled(long ptr)
native void setVideoPreset(long nativePtr, String preset)
native String getVideoPreset(long nativePtr)
native long createCallParams(long nativePtr, long callPtr)
native void setProvisioningUri(long nativePtr, String uri)
native String getProvisioningUri(long nativePtr)
native int getGlobalState(long nativePtr)
native void setHttpProxyHost(long nativePtr, String host)
native void setHttpProxyPort(long nativePtr, int port)
native String getHttpProxyHost(long nativePtr)
native int getHttpProxyPort(long nativePtr)
native void setSipTransportTimeout(long nativePtr, int timeout_ms)
native int getSipTransportTimeout(long nativePtr)
native void setNortpTimeout(long nativePtr, int timeout)
native int getNortpTimeout(long nativePtr)
native void setSipNetworkReachable(long nativePtr, boolean isReachable)
native void setMediaNetworkReachable(long nativePtr, boolean isReachable)
native Object getMSFactory(long nativePtr)
native void setDnsServers(long nativePtr, String servers[])
native void setUserCertificatesPath(long nativePtr, String path)


标签:文件,LinphoneProxyConfigImpl,int,void,long,nativePtr,private,JNI,native
From: https://blog.51cto.com/u_11797608/6404767

相关文章

  • [转]XMPP协议之Socket5 Bytestream文件传输
    [b]XMPP协议之Socket5Bytestream文件传输[/b]SOCK5流协商的建立一部分通过XMPPXML流,一部分通过一个独立的socket实际的文件传输发生在创建的socket上。第一步:[发送端]发送SI(流协商)包AA:<iqtype='set'id='gaim8215f9ef'[email=to=]to='[email protected]/......
  • 文件头
    文件类型文件头JPEG(jpg)FFD8FFPNG(png)89504E47(参考:png文件头详解)89504e470d0a1a0aGIF(gif)47494638WindowsBitmap(bmp)424D(参考:bmp文件格式详解)424D360C3000000000003600000028000000560500000003000001......
  • SpringCloud大文件分片上传/多线程上传
    ​ 我们平时经常做的是上传文件,上传文件夹与上传文件类似,但也有一些不同之处,这次做了上传文件夹就记录下以备后用。这次项目的需求:支持大文件的上传和续传,要求续传支持所有浏览器,包括ie6,ie7,ie8,ie9,Chrome,Firefox,360安全浏览器,并且刷新浏览器后仍然能够续传,重启浏览器(关闭......
  • 对jks签名文件进行Base64编码
    使用GithubActions构建Android项目需要签名,而jks文件又无法私密保存,故可以将其转为base64格式再设置安全变量(https://github.com/{...}/settings/secrets/actions)opensslbase64<key.jks|tr-d'\r\n'|teekey.jks.base64.txt</p>.github\workflows\release.yml:......
  • SpringBoot大文件分片上传/多线程上传
    ​ 这里只写后端的代码,基本的思想就是,前端将文件分片,然后每次访问上传接口的时候,向后端传入参数:当前为第几块文件,和分片总数下面直接贴代码吧,一些难懂的我大部分都加上注释了:上传文件实体类:看得出来,实体类中已经有很多我们需要的功能了,还有实用的属性。如MD5秒传的信息。pub......
  • ORACLE的三个配置文件介绍
     在oracle安装目录$HOME/network/admin下,经常看到sqlnet.oratnsnames.oralistener.ora这三个文件,除了tnsnames.ora,其他两个文件详细的用途很多人都不太了解。sqlnet.ora用在oracleclient端,用于配置连接服务端oracle的相关参数.tnsnames.ora用在oracleclient端,用......
  • Oracle主要配置文件
    Oracle主要配置文件介绍(转帖)Oracle主要配置文件介绍:  profile文件,oratab文件,数据库实例初始化文件initSID.ora,监听配置文件,sqlnet.ora文件,tnsnames.ora文件1.2Oracle主要配置文件介绍1.2.1/etc/profile文件          系统级的环......
  • 2023安卓逆向 -- JNI学习(从开发到反编译)
    一、新建nativeC++项目,填写好项目信息,一路下一步即可二、创建好项目,直接点击运行,出现下面界面,说明我们的环境都没有问题三、Java层调用java层函数1、新建一个JavaClass,命名为JavaFun2、编写java函数packagecom.example.jnitest;publicclassJavaFun{publicstaticStr......
  • Qt第六十章:快速引入资源文件
    目录一、在项目中新建文件夹images二、下载资源文件三、将下载的资源文件放到images文件夹中四、在images文件夹中新建文件resources.qrc文件五、resources.qrc转换成resources_rc.py六、使用资源文件一、在项目中新建文件夹images二、下载资源文件iconfont-阿里巴巴矢量图标库icon......
  • SpringMVC大文件分片上传/多线程上传
    ​ javaweb上传文件上传文件的jsp中的部分上传文件同样可以使用form表单向后端发请求,也可以使用ajax向后端发请求    1.通过form表单向后端发送请求         <formid="postForm"action="${pageContext.request.contextPath}/UploadServlet"method="post"e......