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
Type | Name | Description |
---|---|---|
ParsecCGLevel | cgLevel | The default cgLevel, to set on the fly use ParsecHostConfig . |
char | hostStunAddresses | Different stun addresses, separated by , and port is indicated with an @ . |
char | clientStunAddresses | Different stun addresses, separated by , and port is indicated with an @ . |
ParsecForceRelay | forceRelay | If we should force the relay. |
bool | rawAudio | 1 allows raw PCM audio to be used between host and client, 0 disallows it. |