This repository has been archived by the owner on Aug 25, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Merged
Changes from all commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
4865a0f
Dockerize application
Kirguir 48468c1
Remove medea container
Kirguir bd5fdaa
Fix docs
Kirguir 2b70f97
Merge branch 'master' into dockerize
Kirguir 9489194
Impl COTURN auth service
Kirguir 5785514
Merge branch 'master' into dockerize
Kirguir a20cec3
Impl IceUsersRepository
Kirguir 9546d4b
refactor
alexlapa cdfdf19
refactor
alexlapa fbd2abe
fix config
alexlapa cd3bd63
fix config
alexlapa a4dc292
fix tests
alexlapa a7d2812
Merge branch 'master' into dockerize
alexlapa da70a95
fix merge
alexlapa 82b28c0
Merge branch 'master' into dockerize
alexlapa 83f7d5b
fix merge
alexlapa ba6f653
return derive debug
alexlapa d8d70be
refactoring
alexlapa c9456ae
Merge branch 'master' into dockerize
alexlapa adce23b
refactor
alexlapa cab7db3
refactor
alexlapa 73df128
run coturn in host
alexlapa fb30d72
Corrections
tyranron daf1653
fix config
alexlapa eea2a45
fix rand usage
alexlapa cc87ec9
getters naming
alexlapa b171d5e
minor fixes
alexlapa 8b76505
add trait TurnAuthService
alexlapa d543ee2
refactor
alexlapa de40a38
add reauth todo
alexlapa d5d6b13
Merge remote-tracking branch 'origin/dockerize' into dockerize
tyranron 862303f
Add Coturn integration (#20)
nWacky fa984f6
Merge branch 'master' into dockerize
alexlapa 952fa07
Optimize, fix bugs
nWacky 0dd9c82
review
alexlapa 51e59bc
fix bugs
nWacky 6b376a9
documentation, refactor
alexlapa 440273c
do not create/delete static IceUsers
alexlapa 4cf81fe
poll delete_ice_user, use delete_batch instead of delete
alexlapa 09c62a5
fix test
alexlapa a0905c7
add MEDEA_TURN.DB.REDIS.CONNECTION_TIMEOUT
alexlapa 91c5dbc
log err
alexlapa 8d68d3f
refactor
alexlapa b8da19e
add todo
alexlapa 868907a
fix deps
alexlapa c5cbb84
Merge remote-tracking branch 'origin/dockerize' into dockerize
tyranron 9f3a12e
Correct 'jason' and 'medea-client-api' changes
tyranron 44bc7e6
Correct config defaults
tyranron File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,2 +1,4 @@ | ||
RUST_LOG=debug | ||
MEDEA_CONF=config.toml | ||
|
||
COMPOSE_PROJECT_NAME=medea |
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 |
---|---|---|
|
@@ -2,5 +2,7 @@ | |
/*.iml | ||
.DS_Store | ||
|
||
/.cache/ | ||
|
||
/target/ | ||
**/*.rs.bk |
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
requirepass turn | ||
timeout 0 | ||
tcp-keepalive 60 |
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 @@ | ||
lt-cred-mech | ||
fingerprint | ||
no-cli | ||
no-tls | ||
no-dtls | ||
min-port=49160 | ||
max-port=49200 | ||
realm=medea | ||
redis-userdb="ip=127.0.0.1 port=6379 dbname=0 password=turn" | ||
user=USER:PASS |
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,22 @@ | ||
version: 2 | ||
|
||
services: | ||
coturn: | ||
container_name: ${COMPOSE_PROJECT_NAME}-coturn | ||
image: instrumentisto/coturn:4.5 | ||
depends_on: ["coturn-db"] | ||
command: | ||
- --log-file=stdout | ||
#- --Verbose | ||
volumes: | ||
- ./dev/coturn/turnserver.conf:/etc/coturn/turnserver.conf:ro | ||
- ./.cache/coturn/data:/var/lib/coturn | ||
network_mode: host | ||
coturn-db: | ||
container_name: ${COMPOSE_PROJECT_NAME}-coturn-db | ||
image: redis:alpine | ||
command: ["redis-server", "/etc/redis.conf"] | ||
ports: | ||
- "6379:6379" # coturn redis | ||
volumes: | ||
- ./dev/coturn/redis.conf:/etc/redis.conf:ro |
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
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nWacky ,
Требуется использовать conditional компиляцию по аналогии с другими структурами.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alexlapa,
Я так понял что при feature = "medea", derive(Serialize);
При "jason" - Deserialize