TsgcTURNServerプロパティ › TURNOptions

TURNOptions プロパティ

TURN固有のオプション: デフォルトのAllocationライフタイム、ポート範囲、Relay IP、長期資格情報。

構文

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;

プロパティに戻る