Commit Graph
100 Commits
Author SHA1 Message Date
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 ZhaoandChesterMing 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
David Zhao 807b808c8e v0.11.0 2021-07-16 14:28:03 -07:00
David Zhao 55eb654a1b When adaptive-simulcast is used, allow subscribers to switch to the next available layer (#55) 2021-07-16 14:24:00 -07:00
David Zhao 4ce29799cf remove H.264 profile 42001f. Safari (14.1.1) does not playback tracks offered in this profile 2021-07-13 22:32:38 -07:00
David Zhao 53b52a67ca use protobuf for clients with protocol > 1 (#52) 2021-07-13 22:28:34 -07:00
David Zhao 850fecf931 Allow publishers to set layer availability (#51)
* support client message to update active layers

* update to match new protocol
2021-07-13 21:35:08 -07:00
David Zhao 0cf6efdae9 Remove ECS terraform from repo, updated README (#49) 2021-07-12 16:13:41 -07:00
David Zhao d38fc43b89 Lock room creation to ensure atomic creation & node assignment (#46)
* Lock room creation to ensure atomic creation & node assignment

* more tests
2021-07-12 14:50:14 -07:00
David Zhao c0bff83a36 v0.10.5 2021-07-11 08:43:08 -07:00
David Zhao a80e8cf69f Enable passing in local IP, refactored IP detection (#48)
* Enable passing in local IP, refactored IP detection

* update docker server instructions
2021-07-11 08:42:11 -07:00
David Zhao 4c54234954 Update docker instruction to forward ports 2021-07-09 15:51:28 -07:00
David Zhao 1fd858a16b fix layer-switch glitch with H.264 simulcast 2021-07-07 23:40:58 -07:00
David Zhao ec2d7a49cd v0.10.4 2021-07-07 15:08:00 -07:00
David Zhao 76efe14c6d ensure keys are not empty 2021-07-06 21:43:03 -07:00
David Zhao 4ec2959950 Use discreet ports by default due to write bottleneck (#40) 2021-07-06 15:08:46 -07:00
David Zhao 9e7ee342ee updated readme with playground links 2021-07-05 14:51:26 -07:00
David Zhao a3e96ea4e7 update to upstream pion 3.0.30 2021-07-05 11:59:41 -07:00
David Zhao 0625c7cc72 update version to 0.10.1 2021-07-05 11:01:24 -07:00
David Zhao d47a784dd1 Fix broken links in readme 2021-07-03 12:51:04 -07:00
David Zhao a694c82581 publish to docker automatically on tag (#35) 2021-07-03 12:46:56 -07:00
David Zhao 1ced03d72f fixed failing tests 2021-07-02 17:04:22 -07:00
David Zhao 42f4c773fb v0.10.1 2021-07-02 16:55:26 -07:00
David Zhao 6751361187 Feature: codec restrictions.
In order to ensure clients are publishing with compatible codecs, the server can enforce codec restrictions.
2021-07-02 16:54:54 -07:00
David Zhao 4e6eafa63c for test environments, allow use of internal IP if external IP isn't available 2021-06-30 15:14:58 -07:00
David Zhao cc30d2e025 log error when creating new node (test) 2021-06-30 10:57:54 -07:00
David Zhao fb7a6cf567 Updated README with link to react, contributing info 2021-06-30 10:49:47 -07:00
David Zhao 6d25bd0e9a Update issue templates 2021-06-30 10:32:29 -07:00
David Zhao 083e7cc860 Reduce default PLI throttle values, ion-sfu resync fix 2021-06-28 15:49:17 -07:00
David Zhao 343aec98a0 Remove STUN candidates, disconnect clients on ICE failed 2021-06-28 12:47:16 -07:00
David Zhao c0c38f2e1d Fixed deadlocks with updated simulcast logic 2021-06-25 17:12:22 -07:00
David Zhao d8b96ac2c8 Room API to support selective subscriptions 2021-06-23 14:12:51 -07:00
David Zhao 0c75924c73 increase subscription debounce interval 2021-06-23 12:44:40 -07:00
David Zhao 6b67ba4af0 docs around audio sample smoothing 2021-06-22 14:41:38 -07:00
David Zhao 3b2b3a4929 debounce track settings API to match client usage pattern 2021-06-22 14:13:24 -07:00
David Zhao bc8becaff6 fixed logic error in speaker updates 2021-06-22 00:35:33 -07:00
David Zhao f0d8b1c7ee fixed bug in smoothing algorithm, fixed tests 2021-06-21 22:18:18 -07:00
David Zhao d69e9f451e Smooth audio levels by averaging over samples. 2021-06-21 18:14:28 -07:00
David Zhao 6161df344c 0.9.14-snapshot 2021-06-20 21:27:39 -07:00
David Zhao b12dc97a0c v0.9.13 2021-06-20 21:27:11 -07:00
David Zhao 69290c535b Send full update after joining when there are missed updates 2021-06-19 00:14:40 -07:00
David Zhao 38c81e5645 Support for video dimensions in publications (#36)
* send back video dimensions

* Store video dimensions in MediaTrack and forward in TrackInfo

* use committed protocol
2021-06-18 21:05:56 -07:00
David Zhao 515b1f0f7e exit downtrackRTCPWorker after disconnection 2021-06-17 23:31:17 -07:00
David Zhao 6c5abde7d9 snapshot version 2021-06-17 23:14:05 -07:00
David Zhao 65d1503285 v0.9.12 2021-06-17 23:10:55 -07:00
David Zhao b2201a7b34 don't set PeerConnection callbacks, ignore the responses instead 2021-06-17 22:54:09 -07:00
David Zhao e527a66096 endpoint to dump stacktraces 2021-06-17 22:54:09 -07:00
David Zhao 6d6423c29d switch to forked version of pion 2021-06-17 21:20:40 -07:00
David Zhao a914505cfb snapshot version 2021-06-16 13:41:43 -07:00
David Zhao 92d4f81174 version 0.9.11 2021-06-16 13:40:29 -07:00
David Zhao 3fad61b365 Fix "missing tracks" - always send participant updates 2021-06-16 13:39:04 -07:00
David Zhao 2cecbad29d fix: memory leaks with BufferFactory being held 2021-06-14 22:53:29 -07:00
David Zhao 48a9971b3a generate protobufs before all else 2021-06-11 14:43:44 -07:00
David Zhao 44488f078c update docs link 2021-06-11 14:06:01 -07:00
David Zhao 0cecd81906 fix negotiation timing issue, potential deadlock in ICE restart 2021-06-09 17:50:12 -07:00
David Zhao b3e6bd10cf fixed potentially skipping offer in PCTransport
this could explain the "missing" track problem when the server fails to send some tracks to some of the subscribers
2021-06-09 16:06:10 -07:00
David Zhao b10d903d3e fix: avoid deadlocks when participant closing, adapt to ion-sfu changes 2021-06-09 14:16:48 -07:00
David Zhao db7d5fff52 Test reliability - give time for HTTP server to start 2021-06-09 13:54:52 -07:00
David Zhao 6278673b46 Fix test 2021-06-09 13:17:13 -07:00
David Zhao 0098d61eff allow test to run on dispatch 2021-06-09 13:11:58 -07:00
David Zhao abedc05ce5 Improve logging, hook up ion with zap logger 2021-06-09 12:31:29 -07:00