Parsec

ParsecConfig

Parsec instance configuration.

Passed to ParsecInit and returned by ParsecGetConfig. clientPort and hostPort serve as the first port used when the bind call is made internally. If the port is already in use, the next port will be tried until an open port has been found or 50 attempts have been made.

Fields

TypeNameDescription
ParsecCGLevelcgLevelThe default cgLevel, to set on the fly use ParsecHostConfig.
charhostStunAddressesDifferent stun addresses, separated by , and port is indicated with an @.
charclientStunAddressesDifferent stun addresses, separated by , and port is indicated with an @.
ParsecForceRelayforceRelayIf we should force the relay.
boolrawAudio1 allows raw PCM audio to be used between host and client, 0 disallows it.