TsgcTURNServer › Properties › NotifyEvents
Selects how threaded server events are synchronized with the main VCL/FMX thread.
property NotifyEvents: TwsNotifyEvent read GetNotifyEvents write SetNotifyEvents;
—
Defines the threading model used to dispatch all server events (OnSTUN* and OnTURN*):
TThread.Synchronize; the listener thread is blocked until the handler returns, which is safer for UI code but reduces throughput — not recommended for busy TURN servers because it serializes every relayed packet against the UI.oTURN.NotifyEvents := neAsynchronous;
oTURN.Active := True;