David Zhao
a6eb4290d3
Generate telemetry stubs ( #412 )
2022-02-07 23:15:24 -08:00
David Zhao
81521f80db
Support for custom TURN servers ( #409 )
...
Closes #271
2022-02-05 23:15:58 -08:00
David Zhao
e6c236357a
Option to disable ICE-Lite to improve compatibility ( #408 )
2022-02-05 22:57:47 -08:00
David Zhao
6f6d55345b
Use ParticipantInfo version to ensure consistency ( #399 )
...
* Use ParticipantInfo version to ensure consistency
Deprecating time.Time and avoid locking unnecessarily
* properly adjust ulimit. update protocol
* Save initial version from params
* get rid of metadata field, use grants copy
* fix test
2022-02-03 17:10:52 -08:00
David Zhao
7297a57f3d
Improve TestMultiNodeRefreshToken reliability
2022-02-02 21:29:57 -08:00
David Zhao and boks1971
a8d43aab67
Uses IceLite only for protocol 6 clients ( #397 )
...
* Update to Pion v3.1.20, with fixes DTLS role ambiguity
* Gate ice-lite on protocol version
Co-authored-by: boks1971 <raja.gobi@tutanota.com >
2022-02-02 21:16:08 -08:00
David Zhao
3430650d3e
Server-side parsing of UserAgent ( #387 )
2022-01-29 00:52:06 -08:00
David Zhao
f9cb274521
v0.15.3
2022-01-28 21:59:51 -08:00
David Zhao
a5d779a8b2
Increase test client timeout
2022-01-28 21:43:57 -08:00
David Zhao
6af6eefb8c
Improve readability of test failures ( #386 )
2022-01-28 21:34:21 -08:00
David Zhao
9747243ce2
Honor autoSubscribe when subscription permissions are granted later ( #381 )
...
* Ensure autosubscribe is honored when subscription permissions were granted later
* negotiate even if no media has been added
* don't double-negotiate
2022-01-28 09:55:10 -08:00
David Zhao
69116a57fc
Correctly use writeParticipantMessage for APIs ( #376 )
2022-01-26 00:26:42 -08:00
David Zhao
52fc53d325
Issue updated tokens to clients. ( #365 )
...
This ensures client reconnect attempts would be successful for long running rooms. It also fixes inaccurate permissions that were set incorrectly when full reconnections take place.
2022-01-23 23:15:49 -08:00
David Zhao
4ebfc2eef6
Fix missing docker prefix
2022-01-21 15:13:44 -08:00
David Zhao
c3dec00510
Deprecation notice for old deployment scripts
...
Fixed #355 .
2022-01-21 14:28:03 -08:00
David Zhao
f9a1dd97c2
Ensure RoomService operation is complete prior to returning ( #362 )
...
* Ensure service doesn't return before operation is complete
* added integration tests for RoomService
2022-01-21 11:00:33 -08:00
David Zhao
126bb8867b
Ability to disable auto-create ( #361 )
...
* setting to disable autocreate
* improve test reliability
* update comment
* update to address feedback
2022-01-21 09:57:36 -08:00
David Zhao
b906f37937
Quickstart edits in README
2022-01-20 20:58:03 -08:00
David Zhao
31a0275c0b
Included link to connection tester
2022-01-19 22:12:14 -08:00
David Zhao
6400de1c10
Readme update - simpler getting started ( #350 )
...
* simpler setup instructions
* access tokens link
2022-01-18 23:33:02 -08:00
David Zhao
76b2442f40
Link to Ruby SDK
2022-01-18 17:21:17 -08:00
David Zhao
88cad8f093
Generate cleaner configs ( #347 )
...
Also upgrade to v1.17 for docker builds
2022-01-17 23:54:04 -08:00
David Zhao
c122c98e4d
Improved logging configuration ( #342 )
2022-01-15 10:28:03 -08:00
David Zhao
f2f776931f
Integrated logging with Pion ( #341 )
...
* Integrated logging with Pion
* handle nil logger
2022-01-14 17:44:28 -08:00
David Zhao
cd9c125414
Also allow headers with CORS ( #339 )
2022-01-14 10:13:11 -08:00
David Zhao
f9b2af0cf9
Use CORS middleware to allow RoomService use ( #335 )
2022-01-13 09:29:48 -08:00
David Zhao
29eb8d9dbf
Parse additional info parameters clients could send ( #336 )
2022-01-13 08:40:29 -08:00
David Zhao
b05d154d12
Handle simulated leave ( #333 )
2022-01-11 23:34:27 -08:00
David Zhao
c2ba26eee6
Handle SimulateScenario requests ( #330 )
...
* Handle SimulateScenario requests
* actually use sendLeave
* fix local test failures due to filehandle limit
2022-01-11 00:37:24 -08:00
David Zhao
dd612f966d
Documentation around congestion control config option
2022-01-05 23:02:00 -08:00
David Zhao
d5c955d11f
bump version v0.15.2-SNAPSHOT
2022-01-02 22:39:09 -08:00
David Zhao
d7d3ffdd13
Fix missed update when subscribers are subscribing to the same layer ( #310 )
2021-12-31 23:54:41 -08:00
David Zhao
2d8106c3d7
go mod tidy
2021-12-29 22:04:46 -08:00
David Zhao
3108ef22ad
Ability to set name on Participant ( #293 )
2021-12-28 00:12:04 -08:00
David Zhao
b747cdb822
Pass along mime type with TrackInfo ( #292 )
2021-12-27 23:43:30 -08:00
David Zhao
87a799bae2
Include unique id and timestamp with webhook events ( #291 )
...
Resolves #230
2021-12-27 23:33:06 -08:00
David Zhao
15cd98be22
Enable Room.List to filter by specific names ( #290 )
2021-12-27 23:32:29 -08:00
David Zhao
472f51cdba
Fail IP lookup with STUN failure ( #289 )
...
Resolves #226
2021-12-27 16:43:13 -08:00
David Zhao
554baa54f6
Avoid locking while waiting for receiver read ( #288 )
...
A deadlock was observed in this section, when Read was waiting for data.
2021-12-27 13:35:30 -08:00
David Zhao
857ff7fae7
Update pion/turn to fix TURN TLS termination with external LB
...
version v0.15.1
2021-12-22 15:00:25 -08:00
David Zhao
7a54a810c9
Update pion/turn to fix TURN TLS termination with external LB
2021-12-22 14:56:18 -08:00
David Zhao
e626ad3eaa
version v0.15.0
2021-12-22 13:07:18 -08:00
David Zhao
c49abf9f28
Increased layer tolerance to improve rendering quality ( #283 )
2021-12-22 13:05:43 -08:00
David Zhao
33a7df59bd
Moved ConnectionQuality to PublishedTrack interface.
...
it wasn't needed for other MediaTrack implementations
2021-12-21 14:38:16 -08:00
David Zhao
b32ab0e54f
Fix incorrect order of parameters passed to NewSubscribedTrack ( #272 )
...
* Fix incorrect order of parameters passed to NewSubscribedTrack
Switched to explicit values via a params struct
2021-12-20 14:02:33 -08:00
David Zhao
c08d1e9d72
Improve test CI ( #262 )
...
* minimal change
* Better test format for GH CI
* Give server a bit longer to startup, to improve GH test
2021-12-14 17:15:08 -08:00
David Zhao
8abd734d16
Use participant and room specific loggers ( #252 )
2021-12-10 15:51:05 -08:00
David Zhao
d342335d09
Split out SignalHandler to simplify testing ( #250 )
2021-12-10 13:12:45 -08:00
David Zhao
882f3bdde5
Allow subscription requests made from server APIs ( #249 )
2021-12-10 11:51:03 -08:00
David Zhao
bda2e9cc59
Update protocol to v0.11.0
2021-12-08 13:59:55 -08:00
David Zhao
2d93ccd668
Updated protocol from protocol/proto -> protocol/livekit ( #242 )
...
* Updated protocol from protocol/proto -> protocol/livekit
* separate MediaTrack from PublishedTrack
2021-12-08 13:58:38 -08:00
David Zhao
318bee4f1e
Improve video quality selection by using publisher feedback ( #238 )
2021-12-06 12:12:08 -08:00
David Zhao
c00d799ac6
Fixed permission handling with room deletion ( #233 )
2021-12-03 14:27:13 -08:00
David Zhao
50469b33a9
Fixed incorrect simulcast information ( #218 )
2021-11-30 21:22:16 -08:00
David Zhao
a799069392
Add note about node-ip being public IP
2021-11-30 08:57:44 -08:00
David Zhao
1652fd5dc9
remove go fmt watcher
2021-11-28 11:02:19 -08:00
David Zhao
6dcb29c559
Use publisher PC as default with publish-only connections ( #198 )
2021-11-20 22:28:36 -08:00
David Zhao
79cfc0d76a
update protocol & pion versions
2021-11-19 21:25:08 -10:00
David Zhao
202cabbb10
v0.14.2
2021-11-19 07:28:19 -10:00
David Zhao
ffb2c50a70
Fixed room API breakage ( #190 )
2021-11-14 11:18:01 -08:00
David Zhao
ceae58ac20
Fixed deadlocks occurring in Receiver writeRTP ( #189 )
...
When we RLock during write cycles, the mutex spends the majority of its time
staying locked. As new participants join, they have to acquire the WLock
before downtracks could be add it.
In load test scenarios (25 participants joining together), it's common to see
goroutine dump showing MediaTrack.AddSubscriber -> DownTrack.storeDownTrack trying to acquire mutex, and never able to acquire it.
2021-11-13 22:59:53 -08:00
David Zhao
6500ce262d
Fix publisher loss reporting ( #186 )
2021-11-11 23:29:54 -08:00
David Zhao
5a057f3d19
Handle nil when buffer pair doesn't exist
2021-11-11 23:16:21 -08:00
David Zhao
1e2e53a575
v0.14.1
2021-11-11 13:29:39 -08:00
David Zhao
90f3c43dc5
Fixed deadlock in pion with SRTP and DataChannel
2021-11-11 13:25:08 -08:00
David Zhao
0a769662aa
Fixed multi-platform builds ( #178 )
2021-11-10 15:07:49 -08:00
David Zhao
fbc0d43f4f
Remove unused replace in go.mod
2021-11-09 21:51:59 -08:00
David Zhao
c5830f9060
add ion-sfu NOTICE
2021-11-08 20:56:53 -08:00
David Zhao
749446274f
Use time.Unix instead of UnixMilli (for Go 1.15 compat)
2021-11-08 20:47:41 -08:00
David Zhao
8344466629
Delete unused code
2021-11-07 21:10:40 -08:00
David Zhao
ac004e7fb0
v0.14.0
2021-11-04 22:31:24 -07:00
David Zhao
6a80beedfc
Only send connection quality updates for protocol 5+
2021-11-03 23:09:25 -07:00
David Zhao
aa9534b7fb
Server-driven connection quality detection ( #167 )
2021-11-03 21:05:20 -07:00
David Zhao
5e0833a250
v0.13.7
2021-11-01 12:14:11 -07:00
David Zhao
7442551ae5
Fix missing participant updates race ( #163 )
...
* Fix faulty participant update buffering.
* Fix bug with broadcasting out of order
* dedicated participant update worker, without locks
* use tracker to drop duplicate/out of date messages
* additional lock around filter logic
2021-10-31 15:20:46 -07:00
David Zhao
0898c17e8a
Select video quality using provided dimensions ( #158 )
2021-10-28 21:01:05 -07:00
David Zhao
3f0d1ff0ce
v0.13.5
2021-10-19 23:22:55 -07:00
David Zhao
833e497f37
Pass TrackInfo entirely to ensure fields aren't missing ( #150 )
2021-10-19 17:27:32 -07:00
David Zhao
43079866a2
Update to Pion v3.1.5, fixed simulcast / non-simulcast mixing
2021-10-15 09:35:01 -07:00
David Zhao
182c19e8e2
version v0.13.4
2021-10-15 00:32:57 -07:00
David Zhao
81712f9502
revert to pion v3.1.0-beta.3
...
mixing of simulcast and non-simulcast tracks is broken
2021-10-15 00:31:57 -07:00
David Zhao
eba0c23375
Handle TrackInfo.Source attribute ( #146 )
...
* Support passing along Source attribute
2021-10-14 13:10:57 -07:00
David Zhao
4149c4a314
removed duplicate region log
2021-10-10 22:52:51 -07:00
David Zhao
575b99840a
Fixed handling of multiple nodes in region-aware routing
2021-10-10 22:25:29 -07:00
David Zhao
3013139fa0
update link to deployment docs
2021-10-08 23:02:52 -07:00
David Zhao
52e10ea315
handle nil MessageChannel
2021-10-06 22:24:09 -07:00
David Zhao
c745f0a318
Region aware routing ( #135 )
...
* Region aware routing
* update config, fix spacing on commented out lines
2021-10-06 21:40:04 -07:00
David Zhao
fb91dce30e
version bump v0.13.1
2021-10-04 17:17:41 -07:00
David Zhao
797d2607c4
Fix NACK handling in simulcast (fixed in ion-sfu)
2021-10-04 17:17:41 -07:00
David Zhao
cdb04248fb
Fixed reconnection for single node
...
It does not yet support resuming the session.
2021-09-24 14:19:23 -07:00
David Zhao
4fe3c07bb0
version bump 0.13.0
2021-09-21 23:26:22 -07:00
David Zhao
3ed3afad2c
Recognize Go client in parsing
2021-09-17 16:25:47 -07:00
David Zhao
ff47301820
Implements protocol 3 speaker updates ( #120 )
...
* Disallow AddTrack from participants that don't have the permission
* Support protocol 3 speaker updates, client info
* update protocol
* Disallow AddTrack from participants that don't have the permission
* increase wait time for GH to pass
2021-09-17 11:47:13 -07:00
David Zhao
20d0c0ca43
Fix mute of simulcasted video tracks with < 3 encodings ( #114 )
2021-09-14 15:50:34 -07:00
David Zhao
95a5e3ca85
Fix data publish test ( #113 )
2021-09-12 00:25:36 -07:00
David Zhao
66997b37f9
improve reliability of data publish test
2021-09-11 23:33:35 -07:00
David Zhao
976e61f10c
more generous sleep workaround in test client, better logging
2021-09-11 23:18:20 -07:00
David Zhao
ceea024fdb
fix tests
2021-09-11 22:50:00 -07:00
David Zhao
e99ec0b339
Add tests to data publishing with protocol 3
2021-09-11 22:27:17 -07:00
David Zhao
1bcaf9d0ea
update test client to use protocol 3
2021-09-10 20:58:33 -07:00