Commit Graph

28 Commits

Author SHA1 Message Date
David Zhao
e0c49d3c9d Support for key/value attributes on Participant (#733)
* Support for key/value attributes on Participant

Key/value attributes lets us:
* allow various components to provide more information about the participant (i.e. SIP including the phone number)
* allow Agents to communicate their own status to the end user via RTC
* enable applications to update specific fields without overriding others

* generated protobuf

* Attribute support for SIP.

* generated protobuf

* generated protobuf

* allow specifying attributes during token generation

* Remove sip prefix and rename phone number attrs.

* regenerate protos

* update tests

* add kv attrs to sip token

* add attribute test

* changeset

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Denys Smirnov <dennwc@pm.me>
2024-06-19 22:27:09 -07:00
Paul Wells
d5e9f0a2f9 refactor guid out of utils (#730)
* refactor guid out of utils

* cleanup
2024-06-05 19:07:23 -07:00
Denys Smirnov
2e48332992 Pass participant kind in the grant. (#571) 2024-01-16 17:19:18 +02:00
David Colburn
e230ee2d84 Add agent to participant permission (#513)
* add agent to participant permission

* generated protobuf

* agent values

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-11-07 10:51:01 -08:00
David Colburn
6d382559cf Agents (#511)
* rebased

* regenerate

* generated protobuf

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-11-03 11:22:11 -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
David Zhao
b911c52c6d Fixes CanPublishSource check, added helper functions (#340) 2023-04-07 17:56:05 -07:00
David Zhao
a1a39a16f4 Update from square/go-jose.v2 to go-jose/go-jose/v3 (#334)
square/go-jose is deprecated
2023-04-04 18:09:17 -07: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
David Zhao
5a66fc1d10 Source specific permissions and protocol to update participant's metadata (#282) 2023-02-02 00:34:58 -08:00
Benjamin Pracht
5b5031cf27 Add IngressAdmin grant (#240) 2022-10-25 18:03:02 -07:00
Raja Subramanian
ff07c68fb2 nil check (#126) 2022-05-25 15:08:53 +05:30
Raja Subramanian
91c49df893 ClaimGrants clone (#125)
* ClaimGrants clone

* Check for nil
2022-05-25 14:06:50 +05:30
David Zhao
539c40c917 Remove deprecated JWT token (#112)
* Remove deprecated JWT token

* remove deprecated tests

* generated protobuf

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-04-14 01:22:48 -07:00
David Zhao
54544c489c Helper method to receive WebhookEvent (#109) 2022-03-30 16:14:23 -07:00
David Zhao
56fa20a020 Server-initiated unpublish & permissions (#107)
* Remote unpublish, participant permissions, cleanup
2022-03-20 23:58:03 -07:00
David Zhao
078505af8b Add static check CI (#97)
* Add static check CI

* fix static check errors
2022-02-24 23:36:09 -08:00
David Zhao
550362e3f0 Enable setting name with AccessToken helper (#64) 2021-12-27 23:56:02 -08:00
David Zhao
b146ec0953 Various API improvements (#63)
* ListRooms to support filter
* Webhook to return unique ID and timestamp
* TrackInfo to include track MIME type
* ParticipantInfo to include name field
2021-12-27 23:23:00 -08:00
David Colburn
70f4073aa0 update recording template, add field to room (#50)
* update recording template, add field to room

* allow multiple rtmp results

* more updates

* add recorder bool

* add recorder to participant

* add recorder

* mod tidy
2021-12-03 17:43:38 -08:00
David Zhao
d60d683ac8 Use pointers for perms in order to allow nil (#11)
* nullable permission grants

* nil perms, canPublishData

* convenience setters
2021-08-18 22:47:47 -07:00
David Zhao
992c4b2da9 webhook support 2021-08-08 22:17:46 -07:00
David Colburn
4c64ffcf86 Recording api (#6)
* recording apis

* split recording service

* type -> layout

* remove from create

* add roomRecord option
2021-08-04 20:54:51 -05:00
David Colburn
71fedf0a8a Hidden participants (#4)
* add hidden field

* add hidden to participant info

* add comment

* move hidden
2021-07-19 17:08:11 -05:00
David Zhao
64e12ed39e added protocol_version and use_plan_b to internal 2021-04-16 13:56:38 -07:00
David Zhao
88f6f707e6 breaking API update - SetMetadata takes in opaque string, allow updating permissions when updating a participant 2021-03-20 22:09:52 -07:00
David Zhao
0491a5048e publish/subscribe permissions, Room API to update participant metadata 2021-03-15 23:01:55 -07:00
David Zhao
e14fc4abdc moved over auth and utils packages 2021-03-12 23:46:02 -08:00