Commit Graph

33 Commits

Author SHA1 Message Date
Benjamin Pracht
de36203ccd Add Ingress OutOfNetwork attribute keys. Add the CanUpdateOwnMetadata claim to the ingress token (#965) 2025-02-05 18:34:56 -08:00
Benjamin Pracht
8714744cc1 Make IngressInfo.enabled optional (#937)
To provide backward compatibility with already existing Ingresses
---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-07 14:21:10 -08:00
Rajiv Gonzalez
e58b0bf8ad Disable ingress session flag update (#935)
New Enabled flags on createIngress and updateIngress to have the ability to disable ingress sessions without having to remove the entire session and lose the streamkey
2025-01-07 09:33:54 -08:00
Benjamin Pracht
6d5a8047e6 WHIP protocol change (#680)
This PR adds an optional "enable_transcoding" entry to the ingress APIs and deprecates the bypass_transcoding entry. This is in preparation of disabling "enable_transcoding" by default for WHIP.
2024-04-25 19:35:05 +02:00
Benjamin Pracht
dd867b5144 Add metadata parameter to BuildIngressToken (#594) 2024-02-07 09:14:06 -08:00
Denys Smirnov
2e48332992 Pass participant kind in the grant. (#571) 2024-01-16 17:19:18 +02:00
Benjamin Pracht
14b7eb70d2 Update ingress layer validation logic to make sure both dimensions increase for each layer (#447)
This is a preamble to changing the ingress logic to boxing the input video into the layer dimension, instead of resizing to the layer dimensions regardless of aspect ratio.

This may cause some existing ingress to stop working.
2023-08-11 16:13:53 -07:00
Benjamin Pracht
405389fa48 Support URL pull in ingress (#438) 2023-08-03 10:14:19 -07:00
David Zhao
c9e9ae555f Add license headers & NOTICE (#429)
* Add license headers & NOTICE

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-27 16:43:25 -07:00
Benjamin Pracht
52cca4239c Add Audio/Video options for passthrough (#387) 2023-05-25 15:57:06 -07:00
Benjamin Pracht
b2974692eb Move ErrInvalidIngressType to protocol (#368) 2023-05-01 14:37:48 -07:00
Benjamin Pracht
db5afb1c7f Protocol support for WHIP ingress (#366)
The pion logger package was extracted from livekit-server. The err_array code is from egress.
2023-04-27 18:13:59 -07:00
Benjamin Pracht
f70173e98e Improve IngressInfo validation for serialization use cases. Also enforce even layer dimensions (#344) 2023-04-12 13:16:17 -10:00
Benjamin Pracht
0947b07013 Allow empty layer array (#343) 2023-04-10 07:32:37 -10:00
Benjamin Pracht
48e7d8e34e Validate ingress info encoding parameters (#339) 2023-04-07 11:43:56 -07:00
Benjamin Pracht
6b747fe252 Ingress protocol changes to allow specifying encoding presets (#324) 2023-03-16 09:55:31 -07: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
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
2023-02-12 21:48:01 -08:00
Benjamin Pracht
5353facf2d Use UniversalClient in ingress redis RPC (#245) 2022-11-07 14:20:34 -08:00
Benjamin Pracht
f69b436be8 Move video output validation to protocol (#233) 2022-10-20 09:24:42 -07:00
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
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
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
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
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
f03f3734be Ingress updates (#143)
* ingress updates

* generated protobuf

* undo refactor

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-07-06 11:10:06 -07:00