Commit Graph

1423 Commits

Author SHA1 Message Date
Benjamin Pracht
44a5ed6b4d Change Ingress RPC interface to take and return State instead of full info (#217) 2022-10-03 11:10:58 -07:00
David Zhao
dc2a7bc3a0 Moved AutoEgress and RoomInternal definitions (#216)
* Moved AutoEgress and RoomInternal definitions

Clients do not need these definitions. livekit_models also shouldn't have
a dependency on livekit_egress
2022-09-28 23:04:52 -07:00
Benjamin Pracht
bafacf7041 Use ErrNoResponse constant in ingress RPC implementation (#214) 2022-09-26 11:01:22 -07:00
Benjamin Pracht
19ead11853 Add ErrNoResponse to ingress (#213) 2022-09-22 13:44:13 -07:00
Benjamin Pracht
e982494841 Add ingress id to analytics payload. Add Ingress timed out error (#212) 2022-09-21 14:10:20 -07:00
David Colburn
8645a138fb Remove participant composite temporarily (#211)
* remove participant composite

* generated protobuf

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
v1.1.2
2022-09-20 16:37:42 -07:00
David Zhao
782f517a6e Use custom mime-type to avoid overeager JSON parsing. (#210)
Middlewares/server frameworks have a tendency of replacing req.body with
parsed JSON object. We do not want this behavior as our Webhook receiver
needs to validate the raw string body against the `Authorization` header
v1.0.3
2022-09-19 21:03:55 -07:00
David Colburn
581466192d Remove template base from pc request (#209)
* remove template base from pc request

* generated protobuf

* adjust ids

* generated protobuf

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-09-19 16:23:13 -07:00
David Colburn
df6fc3665f Add participant composite to egress info (#208)
* add participant composite to egress info

* generated protobuf

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
v1.0.2
2022-09-19 15:31:54 -07:00
David Colburn
b6794d3f26 Create RoomInternal pb (#207)
* create RoomInternal pb

* generated protobuf

* add comment

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-09-19 14:35:33 -07:00
David Colburn
36c8b27288 Remove egress from room proto, add participant composite (#206)
* remove egress from room proto, add participant composite

* identity

* generated protobuf

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-09-19 13:50:31 -07:00
David Zhao
2b91fd8ace Switching to Apache-2.0 license to be consistent with rest of repos (#205) 2022-09-16 19:08:15 -07:00
David Colburn
e8fddf3452 Auto egress (#204)
* egress in create room request

* regen

* generated protobuf

* autoegress in room proto

* autoegress in room proto

* generated protobuf

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-09-16 12:06:26 -07:00
renovate[bot]
a193b475b9 Update module github.com/pion/webrtc/v3 to v3.1.44 (#203)
* Update module github.com/pion/webrtc/v3 to v3.1.44

Generated by renovateBot

* generated protobuf

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-09-15 10:28:09 -07:00
cnderrauber
6ec04e9ca4 add previous offer to syncstate (#202)
* add previous offer to syncstate

* generated protobuf

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-09-09 17:06:45 +08:00
cnderrauber
ca55e87895 add participant id for reconnect (#201)
* add participant id for reconnect

* generated protobuf

* style

* generated protobuf

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-09-07 10:58:39 +08:00
Benjamin Pracht
df2069bbbe Move ErrIngressOutOfDate to protocol (#200) 2022-09-06 15:05:30 -07:00
Benjamin Pracht
284d6b2729 Add Participant Identity and Name to ingress token (#199) 2022-08-31 11:05:59 -07:00
Benjamin Pracht
093984de8e Return ws_url and token in GetIngressInfo response (#198) 2022-08-30 09:06:04 -07:00
Benjamin Pracht
0291fd7fdf Add ingress token creation (#197) 2022-08-29 15:58:53 -07:00
David Colburn
28c92d8f69 Stream status and egress updated (#196)
* stream status and egress updated

* generated protobuf

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-25 19:51:00 -07:00
David Colburn
d8431e35ee Add new status (#195)
* add new status

* generated protobuf

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-25 14:24:28 -07:00
renovate[bot]
9cbacea721 Update module google.golang.org/grpc to v1.49.0 (#192)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-24 17:07:56 -07:00
renovate[bot]
cda57bb73f Update module go.uber.org/zap to v1.23.0 (#194)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-24 17:00:14 -07:00
cnderrauber
a1c2809ddc add force relay and tls field (#193)
* add force relay and tls field

* generated protobuf

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-24 19:20:19 +08:00
shishirng
cd39f4ca4d send egress/ingress info in analytics events (#191)
* send egress/ingress info in analytics events

Signed-off-by: shishir gowda <shishir@livekit.io>

* generated protobuf

Signed-off-by: shishir gowda <shishir@livekit.io>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-19 16:04:18 -04:00
renovate[bot]
ac9f2c2b91 Update module github.com/pion/sdp/v3 to v3.0.6 (#190)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-17 21:29:25 -07:00
cnderrauber
613285ea6f use sdp/v3 (#189) 2022-08-17 15:38:30 +08:00
cnderrauber
bd098187d8 move sdp process to sdp package (#188) 2022-08-17 15:31:03 +08:00
Raja Subramanian
ac91aad4ad Track header bytes in RTPStats (#187)
* Track header bytes in RTPStats

Header bytes are included in total bytes* fields.
Tracking it separately to be able to calculate RTP transport overhead.

* generated protobuf

* generated protobuf

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
v1.0.1
2022-08-14 13:10:51 +05:30
David Zhao
937fb9ce9f Added connection type and network info (#186) 2022-08-13 23:31:59 -07:00
David Zhao
df83c83769 Consolidate server information under ServerInfo (#185)
* Consolidate server information under ServerInfo

* go mod tidy

* generated protobuf

* adding node_id too

* generated protobuf

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-10 10:27:33 -07:00
Benjamin Pracht
d76090cba2 Add StartedAt field to ingress info State (#184) 2022-08-08 21:00:42 -07:00
renovate[bot]
e09066ac7e Update module go.uber.org/zap to v1.22.0 (#183)
* Update module go.uber.org/zap to v1.22.0

Generated by renovateBot

* generated protobuf

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-08 15:35:13 -07:00
renovate[bot]
cfae06c397 Update module github.com/prometheus/client_golang to v1.13.0 (#181)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
v1.0.0
2022-08-06 12:19:29 -07:00
David Zhao
2d0d2484b0 bump generator versions (#182)
* bump generator versions

* generated protobuf

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-06 12:17:49 -07:00
lukasIO
dc99a5ad3c Add ping pong and pingtimeout for ws connection (#180)
* add ping pong and pingtimeout for ws connection

* swap ping direction

* declare ping as message

* use int64

* generated protobuf

Co-authored-by: David Zhao <dz@livekit.io>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-05 09:05:32 -07:00
Benjamin Pracht
ae34dc3ec4 Remove StartIngressRequest (#179)
This removes the StartIngressRequest messages and RPC handers, as ingress will start an ingress on RTMP connection. A similar message may be needed again when we support other protocols such as SRT, but it is hard to tell exactly if the message as it exists today is the one that will be needed for this support.
2022-08-01 10:50:11 -07:00
David Colburn
67539ebcab add room name to egress info (#178) 2022-07-28 16:49:08 -05:00
renovate[bot]
a358bbbcc9 Update module google.golang.org/protobuf to v1.28.1 (#177)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-28 09:15:05 -07:00
Benjamin Pracht
ac26418a52 Allow to request ingress info through RPC (#176)
This creates a "RPC" interface that combines both client and server interfaces, and merges the client and server constructors as both sides of the RPC now act as client and server. This also adds a new channel getter for entity requests.
2022-07-27 14:59:41 -07:00
David Colburn
ad9c55ddef Ingress proto updates (#175)
* Ingress updates

* generate

* stop -> delete
2022-07-26 11:41:53 -07:00
Raja Subramanian
cb6a3a0942 Revert "Add option to use sid where applicable. (#172)" (#174)
This reverts commit 5eea37b737.
2022-07-21 15:05:44 +05:30
Raja Subramanian
5eea37b737 Add option to use sid where applicable. (#172)
* Add option to use `sid` where applicable.

Intention is to provide APIs that can address more targeted resource.
As room name and participant identity are designed to re-used,
they address all resources matching the name/identity when using
room service APIs.

By providing option to address using `sid`, a specific resource can
be targeted.

Funtionally, if both `name/identity` and `sid` are given, `name`
takes precedence.

* generated protobuf

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-07-21 10:56:45 +05:30
Raja Subramanian
86da225219 TimedVersion model (#169) 2022-07-21 08:39:58 +05:30
David Zhao
59d9284912 UpdateIngress API to allow re-use (#171)
* UpdateIngress API to allow re-use

* return reusable in IngressInfo

* generated protobuf

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-07-20 16:22:38 -07:00
Benjamin Pracht
7250306954 Add stream_key parameter to ingest info (#170) 2022-07-20 15:18:13 -07:00
Mathew Kamkar
47777c7162 Packet stats from TC (#154)
* system level packet stats

* generated protobuf

* packet drop percent

* generated protobuf

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-07-15 10:27:01 -07:00
renovate[bot]
c9236084b6 Update module google.golang.org/grpc to v1.48.0 (#165)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-14 23:11:46 -07:00
renovate[bot]
ed3bb7fac5 Update module github.com/maxbrunsfeld/counterfeiter/v6 to v6.5.0 (#167)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-14 23:07:53 -07:00