Android SDK API Reference

Public Member Functions | Public Attributes | List of all members
io.skyway.Peer.PeerOption Class Reference

initialize option class. More...

Public Member Functions

 PeerOption ()
 The Constructor.
 

Public Attributes

Peer.PeerTypeEnum type
 Type of the PeerServer. More...
 
String key
 Server access key.
 
String host
 PeerServer host.
 
int port
 PeerServer port.
 
String path
 The path where your self-hosted PeerServer is running. More...
 
boolean secure
 Set to true if you're using SSL.
 
ArrayList< IceConfigconfig
 ICE servers.
 
Peer.DebugLevelEnum debug
 Output debug level.
 
String domain
 Origin URL.
 
boolean turn
 Using SkyWay TURN server.
 
boolean vp8hwcodec
 From now on, please use \ a hwcodec. More...
 
boolean hwcodec
 Set to true to use terminal hardware codec. More...
 
boolean opensles
 Set to true when using OpenSL / ES. More...
 
boolean tryReconnectMedia
 Set the value to true to try to reconnect automatically when the media connection with the other side is lost. More...
 
boolean tryReconnectData
 Set the value to true to try to reconnect automatically when the data connection with the other side is lost. More...
 
PeerCredential credential
 

Detailed Description

initialize option class.

Member Data Documentation

◆ hwcodec

boolean io.skyway.Peer.PeerOption.hwcodec

Set to true to use terminal hardware codec.

The default is true. For this parameter, only the value set first after the application is activated is valid.

◆ opensles

boolean io.skyway.Peer.PeerOption.opensles

Set to true when using OpenSL / ES.

The default is true.

◆ path

String io.skyway.Peer.PeerOption.path

The path where your self-hosted PeerServer is running.

Deprecated:

◆ tryReconnectData

boolean io.skyway.Peer.PeerOption.tryReconnectData

Set the value to true to try to reconnect automatically when the data connection with the other side is lost.

The default value is false.

◆ tryReconnectMedia

boolean io.skyway.Peer.PeerOption.tryReconnectMedia

Set the value to true to try to reconnect automatically when the media connection with the other side is lost.

The default value is false.

Attention
If you use MediaConnection and this option is set to true, it may take some time until the close event is fired on the peer after a remote peer executes the close method. To avoid this, please set the forceClose option of the close method to true on the remote peer.

◆ type

Peer.PeerTypeEnum io.skyway.Peer.PeerOption.type

Type of the PeerServer.

Deprecated:

◆ vp8hwcodec

boolean io.skyway.Peer.PeerOption.vp8hwcodec

From now on, please use \ a hwcodec.

Deprecated: