CallNetworkOptions Class

  • java.lang.Object
    • com.azure.android.communication.calling.CallNetworkOptions

public class CallNetworkOptions

Network options for call client

Constructor Summary

Constructor Description
CallNetworkOptions()

Creates a new instance with a default network options.

Method Summary

Modifier and Type Method and Description
void finalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

List<IceServer> getIceServers()

Get the ICE servers used by the media proxy

String getProxyUrl()

Url to be used for proxy.

CallNetworkOptions setIceServers(List<IceServer> iceServers)

Set ICE servers used by the media proxy.

CallNetworkOptions setProxyUrl(String value)

Url to be used for proxy.

Constructor Details

CallNetworkOptions

public CallNetworkOptions()

Creates a new instance with a default network options.

Method Details

finalize

protected void finalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

getIceServers

public List getIceServers()

Get the ICE servers used by the media proxy

getProxyUrl

public String getProxyUrl()

Url to be used for proxy.

setIceServers

public CallNetworkOptions setIceServers(List iceServers)

Set ICE servers used by the media proxy.

Parameters:

iceServers - list of ICE servers provided

setProxyUrl

public CallNetworkOptions setProxyUrl(String value)

Url to be used for proxy.

Parameters:

value - The new value.

Applies to