* feat(rpc/room): add `ListParticipants` and `GetParticipant`
Add `ListParticipants` and `GetParticipant` RPCs to the `Room` PSRPC service,
following the same topic-based routing pattern as:
- `DeleteRoom`,
- `SendData`,
- and `UpdateRoomMetadata`.
These are needed so the livekit server can route participant read operations to the authoritative
RTC node instead of reading from eventually-consistent Redis.
No breaking changes for existing `UnimplementedRoomServer` embedders
(new methods have default stubs).
* Add ListParticipants and GetParticipant features
* normalize protobuf "id" log field names
* Update changeset for '@livekit/protocol' patch
Updated the changeset to include a patch for '@livekit/protocol' and normalize protobuf 'id' log field names.
* generated protobuf
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Adding retry cnt to support egress auto retry feature
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* update ParticipantInfo to have a protocol_version number
* remove the optinoal field
* addressed the comments
* client_proto -> client_protocol
* update the comment
* generated protobuf
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
- Add projectID explicitly to GetIngressInfoResponse as we cannot send it in headers on a response
- move ingressobs.Reporter to protocol
- Remove the unused KillIngressSession RPC
- Random fmt fixes by the protobuf linter included in my editor...
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Makes sure RPC systems that use the livekit logger wrappers do not log these fields.
This also makes indenting and spaces more consistent by using passing the file through clang-format. Happy to revert this if we want to avoid large cosmetic PRs
This also changes the go_package location for logger/options.proto to github.com/livekit/protocol/livekit/logger" since github.com/livekit/protocol/logger already exists and has some non generated go code inside.
Also add a unit test for the egress redaction. The unit test lives in github.com/livekit/protocol/livekit because protocol/livekit/sip.go imports github.com/livekit/protocol/logger, so putting the test in github.com/livekit/protocol/logger would create an import loop.
* Add room service token to connector room join info
To update participant visible when twilio participant connected
* generated protobuf
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Adding TrunkInfo to SipCallInfo as well as GetSIPTrunkAuthenticationResponse
* generated protobuf
* Directly using provider info instead of deprecated SipTrunkInfo
* generated protobuf
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Marking width and height as not deprecated.
Those fields reflect the capture dimensions.
* generated protobuf
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* updating the reporter inteface to include the gateway noop reporter
* generated protobuf
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Adding an RPC to record call context using the callinfo
* generated protobuf
* Adding changeset
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* HTTP DELETE to delete a participant session - relay signal message for
that.
Also, doing a basic signal cache and building server message and client
message cache on top of it.
* generated protobuf
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* More v2 stuff
- Adding `Trickle` to client -> server message. There should not be any
tricklw from server -> client in v2. So, not adding it. Will add if
needed later.
- Some utils to parse envelopes as we are moving in the direction of
having an envelope of messages in the initial connect request to keep
it modular. May change again later, but today's state is this.
- change relay signal to pass wire message back and forth.
* generated protobuf
* add utils
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>