Commit Graph

1405 Commits

Author SHA1 Message Date
Paul Wells
dac2223d7a nil safe NewTimedVersionFromProto (#312) 2023-03-01 20:10:04 -08:00
Paul Wells
721dbba55d add method to get time.Time from TimedVersion (#311)
* time.Time from TimedVersion method

* time.Time rundtrip test
2023-02-28 15:52:27 -08:00
renovate[bot]
073251b64a fix(deps): update go deps (#302)
* fix(deps): update go deps

Generated by renovateBot

* go-throttle -> core

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: David Colburn <xero73@gmail.com>
2023-02-27 16:01:08 -08:00
Paul Wells
5fa71af6c3 range check min version (#309) 2023-02-27 15:08:48 -08:00
Paul Wells
2cf53863d5 update to psrpc v0.2.9 (#310)
* upgrade psrpc

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-27 15:05:30 -08:00
Paul Wells
43f5fc64e9 return TimedVersion update success/failure (#307) 2023-02-23 19:07:56 -08:00
cnderrauber
e946da680c parallel execute function (#306) 2023-02-22 11:00:27 +08:00
Paul Wells
26f188cb84 move TimedVersion from livekit (#305)
* move TimedVersion from livekit

* Store/Load

* cleanup

* prevent comparison

* nocmp generator

* comment for unused import

* skip update for equal

* uber atomic

* cleanup

* cleanup

* ensure ts is non-negative

* cleanup

* simplify

* cleanup

* cleanup

* assert -> require
2023-02-18 11:34:29 -08:00
David Zhao
cc52c6ef83 Allow retrieving unsampled logger for critical log lines (#304) v1.4.2 2023-02-17 21:48:58 -08:00
David Colburn
563f18426b Remove deprecated ingress rpc (#303)
* remove ingress rpc

* revert psrpc changes

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-17 13:11:33 -08:00
David Colburn
8a6b0e0562 Prevent breakage due to casting (#301)
* prevent breakage due to casting

* remove protoc version

* move old rpc systems back

* generated protobuf

* add deprecated comments

* handle new proto in SendRequest

* remove extra fields

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-15 15:59:03 -08:00
David Colburn
4a1ada9899 Move psrpc to protocol (#300)
* move psrpc to protocol

* generated protobuf

* add psrpc to proto target

* deprecate more fields

* update static check and generate

* generated protobuf

* update renovate

* use latest protoc

* psrpc 0.2.6

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-15 12:06:09 -08:00
Benjamin Pracht
3db2ee16ef Allow using the 1st sample date/time as suffix when using the egress segmented output (#299) 2023-02-13 20:12:32 -08:00
David Zhao
ec5189c9fd chore: update go module versions (#298) v1.4.1 2023-02-12 21:56:16 -08:00
David Zhao
9a57a8c5b2 Fix support for Redis cluster mode, updated to v9 (#297)
* Fix support for Redis cluster mode, updated to v9

* update to Go 1.18
v1.4.0
2023-02-12 21:48:01 -08:00
David Colburn
812bcb9904 Allow multiple outputs (#287)
* multiple outputs

* generated protobuf

* add comments

* generated protobuf

* add error to stream info

* update outputs

* generated protobuf

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-09 00:04:59 -08:00
David Colburn
800036bdb4 Add egress_id option to list egress (#296)
* add egress_id to list egress

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-09 00:01:54 -08:00
lukasIO
410ca1ce35 Revert #292 (#295)
* revert #1380

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-07 18:13:19 +00:00
cnderrauber
f6d32e15b0 Add reconnect reason and signal rtt calculation (#293)
* Add reconnect reason and signal rtt calculation

* generated protobuf

* rename prefix

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-06 10:23:48 +08:00
lukasIO
a6f6dde5db Include room, participant and other_participants in reconnect response (#292)
* include participant and other_participants in reconnect response

* generated protobuf

* generated protobuf

* also send down room

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-03 14:42:05 +00:00
David Zhao
5a66fc1d10 Source specific permissions and protocol to update participant's metadata (#282) 2023-02-02 00:34:58 -08:00
Paul Wells
358df22e41 reduce number of goroutines spawned during testing (#291) 2023-02-01 19:59:12 -08:00
Paul Wells
c71216774a fix lock tracker init for race detector (#290)
* add room/identity to node rtc messages

* fix lock tracker init for race detector

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-01 19:46:47 -08:00
David Zhao
fa1edc35c8 Ensure we don't lose context or other logger options (#289) 2023-02-01 01:21:09 -08:00
Paul Wells
cacdab7b41 add room/identity to node rtc messages (#288)
* add room/identity to node rtc messages

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-01-31 18:16:55 -08:00
David Zhao
9987dca3a3 Fix item sampler to avoid stacking with default sampler (#285) 2023-01-30 17:22:49 -08:00
David Zhao
a1d02655b0 Added subscription priority to UpdateTrackSettings (#281) 2023-01-29 10:54:01 -08:00
Paul Wells
f55bf39335 add norace directive to scanTrackedLocks (#280)
race detector panics if we access an object that is being gced. it
is safe here because until the finalizer finishes the `trackedLock`
won't be freed and finalizer and scan functions all hold
`weakRefLock`.
2023-01-27 20:27:00 -08:00
Paul Wells
10b378e3bc add toggle for lock tracking (#279) 2023-01-27 13:35:45 -08:00
Paul Wells
b75d0aed9e add lock tracker (#278)
* add lock tracker

* add noop to appease statick check

* cleanup

* cleanup
2023-01-27 02:58:19 -08:00
David Colburn
8368e5ada7 authenticated protoc setup (#277) 2023-01-25 15:02:55 -08:00
David Zhao
d208f34298 Including event for subscription failures (#276)
* Including event for subscription failures.

* generated protobuf

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-01-23 20:53:13 -08:00
Dan McFaul
7c8172cb6e participant_rtc_init stats (#275)
* adding rtc_init

* rename participant stats

* generated protobuf

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-01-23 12:20:15 -07:00
David Zhao
8a49ab3e6c Added additional track events (#273)
In order to capture publish and subscribe success rate, and mute status.
v1.3.2
2023-01-15 15:19:42 -08:00
Dan McFaul
abfad31c5f adding more node stats (#268)
* adding more node stats

* fix merge conflicts

* generated protobuf

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-01-11 12:56:42 -07:00
cnderrauber
f637ca8e67 Add reconnect response to update configuration while reconnecting (#271)
* Add reconnect response to update configuration while reconnecting

* generated protobuf

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-01-11 17:19:21 +08:00
Mathew Kamkar
34cae0997a add memory total and used to node stats (#269)
* add memory total, used

* generated protobuf

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-01-10 12:16:47 -08:00
lukasIO
fa87d56355 Add encryption field to TrackInfo (#265)
* Add e2ee enum to TrackInfo

* generated protobuf

* rename to EncryptionType

* generated protobuf

* Nest encryption type in message

* generated protobuf

* Update livekit_models.proto

Co-authored-by: David Zhao <dz@livekit.io>

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: David Zhao <dz@livekit.io>
2022-12-28 10:19:32 +01:00
Benjamin Pracht
d4406dd279 Add an option to set the key frame interval to EncodingOptions (#266) 2022-12-28 17:21:40 +13:00
David Zhao
d9b5a759b9 chore: shortuuid v4 (#264) v1.3.1 2022-12-23 23:31:31 -08:00
Raja Subramanian
fc943512b0 ICE config definition. (#261)
* ICE config definition.

For use in cloud model also.

* generated protobuf

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-12-19 09:45:53 +05:30
renovate[bot]
e586f56c17 Update module github.com/pion/webrtc/v3 to v3.1.50 (#260)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-18 14:39:33 -08:00
Raja Subramanian
e43a6056a6 Introduce encoded participant key (#259)
* Introduce encoded participant key

* generated protobuf

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-12-10 11:09:57 +05:30
David Zhao
5875a37d2c Added ToZap method to return the underlying Zap logger (#258) 2022-12-09 14:22:30 -08:00
David Zhao
46717d5070 Support for participant-level log sampling (#257) v1.3.0 2022-12-08 23:53:20 -08:00
Benjamin Pracht
5420927b79 Add ingress state ended_at field (#256) 2022-12-07 18:06:23 -08:00
David Zhao
7e96a46219 Added helper to check if Redis configuration is provided (#255) v1.2.4 2022-12-04 12:36:51 -08:00
renovate[bot]
524a374588 Update module go.uber.org/zap to v1.24.0 (#254)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-30 13:33:39 -08:00
renovate[bot]
e20cc76010 Update module github.com/pion/webrtc/v3 to v3.1.49 (#253)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-24 11:29:09 -08:00
renovate[bot]
ec328397c7 Update module github.com/pion/webrtc/v3 to v3.1.48 (#215)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-18 17:37:54 -08:00