TURN 프로토콜

sgcWebSockets의 TURN(Traversal Using Relays around NAT) 지원. 직접 P2P 연결이 불가능할 때 트래픽을 중계해요.

기능

  • 직접 P2P 연결이 실패할 때 미디어와 데이터를 중계
  • RFC 5766 준수 구현
  • 할당 및 권한 관리
  • 효율적인 중계를 위한 채널 바인딩
  • 완전한 NAT 통과를 위해 STUN, ICE와 함께 동작

Delphi 예제

uses
  sgcTURN_Client;

var
  TURN: TsgcTURNClient;
begin
  TURN := TsgcTURNClient.Create(nil);
  TURN.Host := 'turn.example.com';
  TURN.Port := 3478;
  TURN.Credentials.Username := 'user';
  TURN.Credentials.Password := 'pass';
  TURN.Allocate;
end;

TURN을 사용할 준비가 되셨나요?

무료 체험판을 다운로드하고 몇 분 만에 개발을 시작해 보세요.