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
David Zhao
614ede2edc
Supports client protocol 3 - subscriber as primary ( #110 )
...
* use subscriber connection as primary whenever possible
* backwards compat for data messages
* bump protocol version
2021-09-09 00:53:15 -07:00
David Zhao
63bd531cc8
version bump 0.12.5
2021-09-05 15:05:21 -10:00
David Zhao
e82d50d717
Send explicit message to clients for mute/unmute. ( #107 )
...
* Send explicit message to clients for mute/unmute.
* documentation in config
2021-09-01 21:50:02 -07:00
David Zhao
d882542491
links to Flutter SDK
2021-08-30 22:56:15 -07:00
David Zhao and ChesterMing
bcf6e15e07
SendData API & publishData permission ( #88 )
...
* SendData Server API
* SendData Server-API adjustments based on suggestions
* Update proto version
* enforce publishData permission
* go mod tidy
* fix go.mod
* go mod tidy
Co-authored-by: ChesterMing <89124853+ChesterMing@users.noreply.github.com >
2021-08-19 18:11:48 -07:00
David Zhao
2ab37d8fcc
v0.12.1
2021-08-16 14:14:19 -07:00
David Zhao
29edf4e8d9
Improve dynamic simulcast, properly cleanup after pendingTracks ( #84 )
2021-08-13 15:49:25 -07:00
David Zhao
5713731363
allow user to mute before track is fully published ( #82 )
...
fixes https://github.com/livekit/client-sdk-js/issues/28
2021-08-10 21:09:23 -07:00
David Zhao
896b28d45d
v0.12.0
2021-08-09 23:58:44 -07:00
David Zhao
6fe0d4bafc
webhook type -> event
2021-08-09 23:37:01 -07:00
David Zhao
9495646f1a
webhooks support ( #81 )
2021-08-09 09:57:37 -07:00
David Zhao
24494e96fd
v0.11.4
2021-07-30 23:03:36 -07:00
David Zhao
b8e1cbe4f5
fix: avoid placing user in a layer that's not published
2021-07-30 21:29:19 -07:00
David Zhao
a9c4851113
Fix external IP discovery. fix LeaveRequest during server disconnect ( #72 )
2021-07-28 21:33:34 -07:00
David Zhao
f8782fae3f
Send stun servers to clients ( #69 )
...
* Send stun servers to clients
* use TURN/UDP as STUN servers
2021-07-26 15:43:26 -07:00
David Zhao
77ed742d50
update pion + ice
2021-07-23 12:43:14 -07:00
David Zhao
47f4f514b9
version bump 0.11.1
2021-07-22 22:03:58 -07:00
David Zhao
834dce543b
fix participant APIs when using LocalRouter ( #67 )
2021-07-22 11:06:23 -07:00
David Zhao
c493022f0f
fix force_tcp flag: don't set UDPMux when enabled ( #62 )
2021-07-19 09:16:01 -07:00