Commit Graph

464 Commits

Author SHA1 Message Date
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
hn8 2d215f80b3 Restore SetLogger (#111)
- Fix buffer.NewBufferFactory: logger.GetLogger() has extra depth. Passing empty logger will use default logger set by serverlogger.SetLogger()
2021-09-10 13:34:46 -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 Colburn 2a3fb5f0e7 move logging to protocol (#109) 2021-09-09 00:45:42 -07:00
David Zhao 63bd531cc8 version bump 0.12.5 v0.12.5 2021-09-05 15:05:21 -10:00
David Colburn e9ffbefa70 move recorder to msg bus (#108) 2021-09-02 17:06:48 -05: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 Colburn 4044c314b8 participant key (#106)
* participant key

* update fake router

* WriteRTCMessage

* move sink closing

* unused code
2021-08-31 16:14:06 -05:00
David Colburn eb6e763e8d use request context in rtc service 2021-08-30 23:27:04 -07:00
David Zhao d882542491 links to Flutter SDK 2021-08-30 22:56:15 -07:00
David Colburn 1f1eea383f add ctx to interfaces (#105)
* add ctx to interfaces

* use existing context
2021-08-30 20:31:24 -05:00
David Colburn 1e10d440c8 export error 2021-08-30 17:03:39 -07:00
David Colburn 2fd61531d2 small refactor (#104) 2021-08-30 18:22:11 -05:00
David Colburn 0bfd05c3b8 move router room manager link (#103) 2021-08-30 17:18:18 -05:00
David Colburn 397c5607a9 update sfu v0.12.4 2021-08-30 14:40:22 -07:00
hn8 6a88bcc2d7 feat: support windows dev env (#101)
Works in Git Bash and PowerShell in Windows 10
2021-08-30 11:36:49 -07:00
hn8 32daa257bb cleanup protoc (#100)
https://github.com/livekit/livekit-server/pull/95
2021-08-30 11:35:03 -07:00
David Colburn 69c1d4c295 Interfaces (#97)
* create interface

* move room manager to interface

* interfaces

* updates

* fix loop

* fix fakes

* remove node types
2021-08-28 18:28:08 -05:00
Mathew Kamkar 4553695631 get system stats from /proc only on linux (#96) 2021-08-27 13:15:02 -07:00
David Colburn 7c30dbe970 remove docker copy proto v0.12.3 2021-08-27 11:17:41 -07:00
David Colburn 8a44fad307 protocol 0.8 (#95)
* protocol 0.8

* merge new selector
2021-08-27 13:16:33 -05:00
Mathew Kamkar c437152e2b NodeSelector using system load metric (#94)
* use load when selecting nodes

* Apply suggestions from code review

Co-authored-by: David Zhao <david@davidzhao.com>

* sysload selector test

* wire nodeSelectorFromConfig

* fix tests

* Update pkg/routing/selectorsystemload_test.go

Co-authored-by: David Zhao <david@davidzhao.com>

* dz review: nits

Co-authored-by: David Zhao <david@davidzhao.com>
2021-08-26 15:24:39 -07:00
David Colburn 0a9d12bc35 v0.12.2 v0.12.2 2021-08-25 13:49:34 -07:00
David Colburn 22a5d4ec74 update sfu 2021-08-25 13:48:41 -07:00
David Colburn b95701c7da update protocol 2021-08-25 13:42:02 -07:00
Mathew Kamkar f9590afe1a include packet and system info with node stats (#92)
* include packet and system info with node stats

* add more packet and system stats

* revert magefile, clean up system stats error handling

* update procol version

* dz review: error return
2021-08-25 12:04:28 -07:00
Mathew Kamkar f5466c74e6 list-nodes command action (#87)
* list-nodes command action

* refactor stats into a package

* store existing stats in redis, more refactoring

* dz review: atomic load
2021-08-24 10:14:39 -07:00
PJC a8b0125e42 support go 1.17 version when use bootstrap.sh (#91)
* check go version with install

* fix GO_TARGET_VERSION to 1.17

* fix: version check error
2021-08-23 11:41:29 -07:00
PJC 9016da1936 check turn domain and port range (#90)
* check negative turn port

* check turn domain

* domain check test code
2021-08-23 10:49:16 -07:00
David Zhao 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 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 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 Colburn 1f4288744c upgrade protocol 2021-08-06 16:02:49 -07:00
David Colburn 6111b2d4f8 Recording apis (#78)
* apis with auth

* recording service

* record permission

* protocol 0.6.5

* bump version
v0.11.5
2021-08-04 22:44:06 -05:00
David Colburn a53deecb82 revert recording apis 2021-08-03 00:19:19 -07:00
David Zhao 24494e96fd v0.11.4 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
hn8 c57e2860ca fix: work around logr 1.0 WithCallDepth bug (#73)
https://github.com/go-logr/logr/pull/58
v0.11.3
2021-07-29 10:19:40 -07:00
David Zhao a9c4851113 Fix external IP discovery. fix LeaveRequest during server disconnect (#72) 2021-07-28 21:33:34 -07:00
David Colburn 6fca5647fd update protocol 2021-07-26 23:43:57 -07:00
David Colburn 7f66ca0d64 v0.11.2 v0.11.2 2021-07-26 22:41:51 -07:00
David Colburn b00d5a02cb RoomRecorder (#70) 2021-07-27 00:39:48 -05: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 Colburn d49d541a9e Add redis db to config sample 2021-07-24 19:56:55 -05:00