TsgcTURNServer속성 › TURNOptions

TURNOptions 속성

TURN 관련 옵션: 기본 Allocation 수명, 포트 범위, Relay IP 및 long-term credentials.

구문

property TURNOptions: TsgcTURNServer_Options read FTURNOptions write SetTURNOptions;

기본값

설명

TURN 서버가 중계 엔드포인트를 할당하고 클라이언트를 인증하는 방법을 관리하는 옵션을 그룹화합니다:

예제

oTURN.TURNOptions.Allocation.DefaultLifeTime := 600;
oTURN.TURNOptions.Allocation.MaxLifeTime := 3600;
oTURN.TURNOptions.Allocation.MinPort := 49152;
oTURN.TURNOptions.Allocation.MaxPort := 65535;
oTURN.TURNOptions.Authentication.Enabled := True;
oTURN.TURNOptions.Authentication.LongTermCredentials.Enabled := True;
oTURN.TURNOptions.Authentication.LongTermCredentials.Realm := 'esegece.com';
oTURN.Active := True;

속성으로 돌아가기