TsgcTURNServer › Propiedades › STUNOptions
STUNOptions Propiedad
Opciones a nivel de STUN heredadas de TsgcSTUNServer: atributos FINGERPRINT, SOFTWARE, Authentication y Binding-Response.
Sintaxis
property STUNOptions: TsgcSTUNServer_Options read FSTUNOptions write SetSTUNOptions;
Valor Predeterminado
—
Observaciones
Heredado de TsgcSTUNServer; controla cómo el servidor gestiona las Binding Requests STUN simples que pueden llegar al mismo puerto junto con el tráfico TURN:
- Fingerprint: cuando está habilitado, añade un atributo FINGERPRINT a las respuestas para que STUN pueda multiplexarse con otros protocolos en la misma dirección de transporte.
- Software: cuando está habilitado, anuncia la implementación del servidor mediante el atributo SOFTWARE.
- Authentication: autenticación a nivel STUN. En despliegues TURN, las credenciales se configuran generalmente en TURNOptions.Authentication; habilite este bloque solo cuando el servidor deba autenticar también las solicitudes Binding simples.
- BindingAttributes: selecciona qué atributos opcionales (OTHER-ADDRESS, RESPONSE-ORIGIN, SOURCE-ADDRESS) se añaden a las respuestas de vinculación exitosas.
Ejemplo
oTURN.STUNOptions.Fingerprint := True;
oTURN.STUNOptions.Software := True;
oTURN.STUNOptions.BindingAttributes.ResponseOrigin := True;
oTURN.Active := True;
Volver a Propiedades