SKYLINKConnectionConfig Class Reference

Inherits from NSObject
Declared in SKYLINKConnection.h

Overview

The class representing the conversation configuration.

  audio

enable/disable audio.

@property (nonatomic, unsafe_unretained) BOOL audio

Discussion

Default value is NO.

Declared In

SKYLINKConnection.h

  video

enable/disable video.

@property (nonatomic, unsafe_unretained) BOOL video

Discussion

Default value is NO.

Declared In

SKYLINKConnection.h

  dataChannel

enable/disable dataChannel.

@property (nonatomic, unsafe_unretained) BOOL dataChannel

Discussion

Default value is NO.

Declared In

SKYLINKConnection.h

  fileTransfer

enable/disable file transfer.

@property (nonatomic, unsafe_unretained) BOOL fileTransfer

Discussion

Default value is NO.

Declared In

SKYLINKConnection.h

  timeout

number of seconds for file transfer timeout.

@property (nonatomic, unsafe_unretained) NSInteger timeout

Discussion

Default value is 60.

Declared In

SKYLINKConnection.h

  userInfo

Optional configuration for advanced users.

@property (nonatomic, weak) NSDictionary *userInfo

Parameters

userInfo

NSDictionary carrying the desired settings. Read the discussion for details.

Discussion

The userInfo dictionnary key and associated settings are: @“STUN” key (NSNumber value): set @“STUN” to @YES to DISABLE STUN server. @“TURN” key (NSNumber value): set @“TURN” to @YES to DISABLE TURN server. @“transport” key (NSString value): expected values are @“TCP” or @“UDP”. @“audio” key (NSString value): preferred audio codec, expected values are @“Opus” or @“iLBC”.

Declared In

SKYLINKConnection.h