-
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.
Split coturn port into STUN/TURN/UDP/TCP
- Loading branch information
1 parent
f0cc48f
commit eba652b
Showing
3 changed files
with
38 additions
and
9 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
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
10 changes: 10 additions & 0 deletions
10
src/main/resources/db/migration/V1.1.0__split_coturn_port.sql
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
drop index unique_host_port on coturn_servers; | ||
|
||
alter table coturn_servers | ||
drop column port; | ||
|
||
alter table coturn_servers | ||
add stun_port mediumint default 3478 null after host, | ||
add turn_udp_port mediumint default 3478 null after stun_port, | ||
add turn_tcp_port mediumint default 3478 null after turn_udp_port, | ||
add turns_tcp_port mediumint default null null after turn_tcp_port; |