-
Notifications
You must be signed in to change notification settings - Fork 5
Make sfu-to-sfu talk MSC3401 and add new features #11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
126 commits
Select commit
Hold shift + click to select a range
c6a93ed
remove http API; add basic mautrix VoIP hooks
ara4n 1795332
add sample config
ara4n 5fe938d
rename sample config
ara4n a81ddea
.gitignore
ara4n 1ac4be0
typo
ara4n 1368d31
go fmt
ara4n 8d8303d
merge main
ara4n e7c757a
Merge branch 'master' into matthew/matrix
ara4n 0a0e308
theoretically hook up matrix to the focus (WIP)
ara4n 36b5b09
we can infer device_id from /whoami
ara4n 0586e38
pin to right go-mautrix
ara4n f604f23
fix build
ara4n 5af7532
fix dep
ara4n 782bcd2
hook up SDP-over-DC signalling again
ara4n e9844a4
hook up sfu->client ice candidates
ara4n 9129b4e
hook up client->sfu candidates
ara4n 79f887a
whack up the debug
ara4n 5f1dc72
handle todevice msgs correctly
ara4n 6e1eb29
fix stupid map lifecycle bugs
ara4n 6599350
fix up sessions
ara4n 6cb5842
unmarshal DC correctly
ara4n e2e8a82
debugging
ara4n ba82de8
experiment: stop namespacing on streamIDs
ara4n 1dd777b
moar logging
ara4n fba15af
don't barf on candidate completion
ara4n 95cffd1
more debugging; handle stream lookup failure correctly
ara4n 8bd0d04
reenable ICE
ara4n 0053c43
only send ICE candidates after we've calculated an answer
ara4n fb61684
remove debugging
ara4n f3d9cdb
Delint
SimonBrandner 46c7e3a
Add more logging for DC
SimonBrandner b7add84
Add useful logging
SimonBrandner 0305ee0
Update `.mod` files
SimonBrandner 2b4bafb
Fix types
SimonBrandner 831d7b0
Be more precise about `m.call.negotaite`
SimonBrandner a3ec7d8
Delint
SimonBrandner ca48340
Delint
SimonBrandner 5291787
Make basic group calling work
SimonBrandner d0cb49b
Handle events we don't care about nicer
SimonBrandner 8393552
Handle `m.call.hangup` and `m.call.select_answer`
SimonBrandner 699e362
Allow lookup of tracks by info about them
SimonBrandner d592bf3
Make leaving confs work
SimonBrandner 0caefb1
Move golang files into `src`
SimonBrandner 209be90
Reogranize source code
SimonBrandner 7d57680
Add newline
SimonBrandner ab61cda
Remove `static` dir
SimonBrandner 8eff32f
Delint `README.md`
SimonBrandner 484aed8
Add copyrights
SimonBrandner 3659366
Extract `onTrack`
SimonBrandner c690431
Extract `sendDataChannelMessage()`
SimonBrandner 2d8cf74
Add support for `publish`
SimonBrandner 5b62e45
Extract `sendDataChannelError()`
SimonBrandner a78c8ec
Correctly remove tracks when a person leaves a call
SimonBrandner 37b1c35
Update scripts
SimonBrandner 6d91759
Move scripts into a separete dir
SimonBrandner 1ad36e9
Update README
SimonBrandner ee5a4c3
Select by both `streamId` and `trackId`
SimonBrandner 805244e
Improve logging
SimonBrandner cb7c76f
Correctly log `select`
SimonBrandner 8398119
Log `userID`s instead of `callID`s
SimonBrandner cd3076b
Fix terminate call log
SimonBrandner b999bda
Fix more logs
SimonBrandner 0d373b0
Don't error if we found no tracks
SimonBrandner 5657c6d
Try to fix race condition where track is later than state event
SimonBrandner 060a528
Fix `tracks` mutex
SimonBrandner c591a4a
Handle no tracks to remove better
SimonBrandner 6063f2c
Better logging
SimonBrandner 646efa7
Add `unpublish`
SimonBrandner ca546c6
Remove old call with device id when we get a new one
SimonBrandner 4778573
Fix `addSubscribedTracksToPeerConnection()` being called for incorrec…
SimonBrandner 928604e
Add comment
SimonBrandner b8479f0
Remove empty line
SimonBrandner 24a3e0b
Support profiling
SimonBrandner e5bec68
Better cpu and memory profiling
SimonBrandner d80dada
Implement sessions ids
SimonBrandner f0282d8
Theoretical perf improvement
SimonBrandner ebf4e10
Use gorutines
SimonBrandner becdee7
Lock later
SimonBrandner 7eb8480
Move `getConf()` to the correct place
SimonBrandner c7cda4d
Implement timeouts
SimonBrandner 6149d7f
Remove some debug logs
SimonBrandner d3b4ba3
Add vscode to gitignore
SimonBrandner 80e9192
Fix timeouts
SimonBrandner 3f56374
Make logging time optional
SimonBrandner 4845a7e
Fix warning
SimonBrandner bdd0bbe
Remove unused packages
SimonBrandner 9c1e479
Fix disabling loggin
SimonBrandner 4dfd79e
Don't log some events
SimonBrandner b80edd6
Improve logging
SimonBrandner 02e553c
Switch to data-channel for sending metadata
SimonBrandner 02825ea
Update README
SimonBrandner e513dd1
Add new lines
SimonBrandner e473cd9
Remove cascade - will be readded later
SimonBrandner 7dbe06b
Follow naming conventions
SimonBrandner 052aacc
Add `WriteRTCP()`
SimonBrandner 8d730e0
Rename `config` to `Config`
SimonBrandner cc822e2
Remove unused field
SimonBrandner 8e1c608
Improve typing
SimonBrandner 59907f5
Rename type
SimonBrandner 22b3d81
Move types into mautrix-go
SimonBrandner ccf28d5
Use `ToDevice` prefix
SimonBrandner b528c03
Move types to mautrix-go
SimonBrandner 250e2c9
Remove comment
SimonBrandner 839ae57
Remove type
SimonBrandner e82cc39
Improve logging in utils
SimonBrandner 71c2a0f
Don't timeout already ended calls
SimonBrandner 9abb6d9
Break out of `WriteRTCP` loop on error
SimonBrandner 0bb1871
Add somu mutex locks and unlocks
SimonBrandner 5c45ebf
Fix incorrect mutex usege
SimonBrandner 8d45581
Fixup same small issues
SimonBrandner f528225
Don't assume everyone is Šimon
SimonBrandner 4bf1c55
Don't kill the SFU when receiving invalid messages
SimonBrandner f0cfb9e
Improve log
SimonBrandner 1e127f0
Separate `DataChannelHandler()`
SimonBrandner 80be219
Don't panic where we don't need to
SimonBrandner 6a2bf28
Comment `GetRemoteMetadataForDevice()`
SimonBrandner a0504d0
Rename function
SimonBrandner 02bcae8
Add `NewFocus`
SimonBrandner 42ebd11
Fix public/private
SimonBrandner 8698c08
Rename var
SimonBrandner 7a47a55
Send `UsernameFragment`
SimonBrandner 223fbd7
Update
SimonBrandner e0255e4
Restructure to use `OnEvent`
SimonBrandner b7e8cbc
Update `go.mod`
SimonBrandner cc0c2e5
Send end of ICE
SimonBrandner 0f40571
Remove UsernameFragment
SimonBrandner 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 hidden or 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
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.
Uh oh!
There was an error while loading. Please reload this page.