-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wip: custom experimental cloudflare rtc
- Loading branch information
1 parent
98f3752
commit 06d3669
Showing
3 changed files
with
17 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,14 @@ | ||
|
||
// export const customRtcConfig = (): RTCPeerConnection => ({ | ||
// | ||
// }) | ||
export const customRtcConfig = (): RTCConfiguration => ({ | ||
"iceServers": [{ | ||
"urls": [ | ||
"stun:stun.cloudflare.com:3478", | ||
"turn:turn.cloudflare.com:3478?transport=udp", | ||
"turn:turn.cloudflare.com:3478?transport=tcp", | ||
"turns:turn.cloudflare.com:5349?transport=tcp", | ||
], | ||
"username":"g01f61887a5c954b0421992d6a74f8328ab095946726088e3018787be35da76a", | ||
"credential":"3988c6fe102ae5b7d61bd73ec74661f67107a1db0518f8039a36a4be53235bf3" | ||
}], | ||
}) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters