feat(client): провайдер direct - прямо на сервер без TURN-реле
Тот же DTLS с обфускацией, сервер не меняется. По умолчанию один поток.
This commit is contained in:
1 parent
7df3a3fd91
commit
ee30afc922
17 files changed
+244
-102
No files matched your search
@@ -10,6 +10,8 @@ import (
|
||||
"github.com/samosvalishe/free-turn-proxy/internal/transport/turndial"
|
||||
)
|
||||
|
||||
type DialFunc func(ctx context.Context, streamID int) (*turndial.Stream, error)
|
||||
|
||||
// GetCredsFunc разрешает TURN-реквизиты для streamID.
|
||||
type GetCredsFunc func(ctx context.Context, streamID int) (user, pass string, rawURLs []string, err error)
|
||||
|
||||
|
||||
Reference in new issue
Block a user