wire up dion tunneling
This commit is contained in:
1 parent
0643d24aa2
commit
7528f653e9
25 files changed
+662
-147
No files matched your search
@@ -2,21 +2,8 @@ package joiner
|
||||
|
||||
import (
|
||||
"strings"
|
||||
|
||||
"github.com/pion/logging"
|
||||
)
|
||||
|
||||
// QuietPionLoggerFactory returns a Pion LoggerFactory that silences the
|
||||
// "turnc" scope. Pion's TURN client logs CreatePermission refresh
|
||||
// failures at Error level every few minutes during a normal call when
|
||||
// the SFU advertises peer addresses the TURN server rejects on
|
||||
// refresh (often IPv6). The call itself is unaffected.
|
||||
func QuietPionLoggerFactory() *logging.DefaultLoggerFactory {
|
||||
factory := logging.NewDefaultLoggerFactory()
|
||||
factory.ScopeLevels["turnc"] = logging.LogLevelDisabled
|
||||
return factory
|
||||
}
|
||||
|
||||
func TmParseMids(sdp string) (audioMid, videoMid string) {
|
||||
var media string
|
||||
for _, line := range strings.Split(sdp, "\r\n") {
|
||||
|
||||
Reference in new issue
Block a user