Paul Wells
45b9751aaf
add atomic config helpers ( #772 )
...
* add atomic config helpers
* generated protobuf
* copy
* disable grpc generation for protos
* copy
* deps
* tidy
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-29 19:55:40 -07:00
Benjamin Pracht
497688ff49
Internal agent protocol improvements ( #764 )
2024-07-16 15:53:17 -07:00
Benjamin Pracht
8c1eef4468
Agents protocol feedback ( #750 )
...
This includes some feedback on the agents protocol:
- Rename JobDescription to AgentDispatch
- Remove participant_identity entry in the dispatch
- Deprecate namespace
- Add an agent_name field to specify what agent workers a job should be dispatched to
This also allows setting a room configuration in the token.
2024-07-05 18:53:29 -07:00
Benjamin Pracht
82786f41fd
Additions to agent protocol ( #717 )
...
This PR:
- Adds StartAgentJobRequest/StopAgentJobRequest calls to start an handle manually mange an agent lifecycle
- Deprecates the JobType field in WorkerInfo as workers will now be expected to handle both kinds jobs (if the namespace supports both kinds in the first place)
- Adds a metadata string -> string map to Job to allow agent implementation to take anonymous (to us) parameters
- Adds a JobStatus and error fields to Job for status reporting (Similar to egress and ingress)
- Makes livekit_agent.proto indentation consistent with other proto files
- Add room configuration and management APIs to the Room service. Rooms configuration allow bundling most room configuration parameters under a single id, that can eventually be put as part of the room creation token.
2024-06-27 10:30:58 -07:00
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
Denys Smirnov
32c577d805
Split SIP Trunk configuration to inbound and outbound parts. ( #738 )
2024-06-17 21:42:19 +03:00
Denys Smirnov
0411da6790
Simplify number matching rules. Make '+' optional. ( #737 )
2024-06-13 13:26:21 +03:00
Benjamin Pracht
114aac165b
Add KillIngressSession to ingress RPC ( #735 )
2024-06-12 13:15:27 -07:00
David Colburn
1dd95af542
s3 session token ( #734 )
...
* s3 session token
* changeset
* generated protobuf
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-11 17:39:00 -07:00
Paul Wells
fcde125058
move analytics rpc to common rpc path ( #732 )
...
* move analytics rpc to common rpc path
* generated protobuf
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-05 23:44:24 -07:00
Paul Wells
ec704e0cf2
fix psrpc method kind metric label ( #725 )
2024-05-28 18:32:58 -07:00
Paul Wells
c721a3ed39
add message bytes to psrpc metrics observer ( #723 )
...
* add message bytes to psrpc metrics observer
* deps
2024-05-26 12:36:38 -07:00
Denys Smirnov
90dfd668f4
Add support for additional SIP transports. ( #719 )
2024-05-23 20:14:47 +03:00
Sean DuBois
5aa3d97713
Add ICERestartWHIPResource to RPC ( #716 )
...
* Add ICERestartWHIPResource to RPC
* Create witty-tomatoes-smile.md
---------
Co-authored-by: Benjamin Pracht <benjamin@livekit.io >
2024-05-14 11:44:17 -07:00
Paul Wells
72c0789f38
allow setting min log level for logger ( #705 )
...
* allow setting min log level for logger
* generated protobuf
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-06 22:22:14 -07:00
Denys Smirnov
151d757a97
Expose Logger constructor for Zap ( #701 )
...
* Expose Logger constructor for Zap.
* generated protobuf
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-01 13:27:48 +03:00
Denys Smirnov
e7962f4444
Pass additional metadata for SIP. ( #696 )
2024-04-26 13:44:03 +03:00
David Colburn
e746785292
fix rpc package ( #678 )
...
* fix rpc package
* generated protobuf
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-11 14:27:17 -07:00
Paul Wells
fec2972501
support curried psrpc metric labels ( #676 )
2024-04-09 00:26:52 -07:00
Théo Monnom
bc6c7ffd71
agents protocol proposal ( #595 )
...
* simulate-job
* generated protobuf
* wip
* job_cost
* Update livekit_agent.proto
* generated protobuf
* Update livekit_agent.proto
* generated protobuf
* Update livekit_agent.proto
* Update livekit_agent.proto
* Update livekit_agent.proto
* generated protobuf
* Update livekit_agent.proto
* renamed to pong
Co-authored-by: David Zhao <dz@livekit.io >
* Update livekit_agent.proto
* Update livekit_agent.proto
* generated protobuf
* remove job_cost & ParticipantPermission
* generated protobuf
* Update livekit_agent.proto
* generated protobuf
* wip
* generated protobuf
* generated protobuf
* Update livekit_agent.proto
* generated protobuf
* generated protobuf
* handler namespace
* generated protobuf
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: David Zhao <dz@livekit.io >
Co-authored-by: David Colburn <xero73@gmail.com >
2024-04-03 22:49:52 +02:00
Denys Smirnov
93ff4a23a3
Add and option to play ringtone for SIP outbound calls. ( #671 )
2024-03-29 22:54:06 +02:00
Paul Wells
9b0ad21a6f
export client params options helper ( #666 )
2024-03-22 11:11:10 -07:00
Denys Smirnov
44e9dc34b4
Allow sending DTMF when creating SIP participant ( #658 )
...
* Allow sending DTMF when creating SIP participant.
* generated protobuf
* Add changeset.
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-14 22:39:25 +02:00
David Zhao
da55a5e169
Update to xsync v3 ( #639 )
2024-03-10 13:05:29 -07:00
lukasIO
c04669aee6
Separate protobufs and set up changesets publishing workflow ( #629 )
...
* Separate protobufs from module code
* update generate workflow
* install mage only
* fix paths
* generated protobuf
* fix test action
* fix cache dependency path
* setup versioning
* add golang workspace file
* delete generated files from git
* Update gitinore
* fix release workflow
* Move go code back to root
* fix working directory
* fix changeset script
* revert debug changes
* remove go cache path
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-08 10:37:35 +01:00
Denys Smirnov
1552274d8d
Accept SIP DTMF via data channel ( #630 )
...
* Accept SIP DTMF via data channel.
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-07 20:56:47 +02:00
Paul Wells
4a97b58328
reduce logger heap objects ( #618 )
...
* reduce logger heap objects
* deps
2024-02-26 05:35:35 -08:00
Paul Wells
454dff3b81
move psrpc logging/metrics utilities ( #616 )
...
* move psrpc logging/metrics utilities
* inject const labels
2024-02-24 00:21:49 -08:00
Paul Wells
a9e0faf6f0
allow intercepting logging ( #609 )
...
* allow intercepting logging
* roll back nats
2024-02-20 20:46:29 -08:00
Benjamin Pracht
2e75b8fb46
Add CreateIngress to IOInfoService ( #604 )
2024-02-14 12:57:53 -08:00
David Colburn
611223e34f
Revert egress client jitter ( #599 )
...
* revert egress client jitter
* tidy
2024-02-08 16:56:16 -08:00
Denys Smirnov
d89487fdbc
More specific SIP call dispatch result codes. ( #596 )
2024-02-08 17:54:07 +02:00
David Colburn
d010895a56
increase channel size for egress internal ( #598 )
2024-02-07 19:31:24 -08:00
Benjamin Pracht
7394a1c07b
Add topic parameter to ListActiveIngress ( #590 )
2024-02-05 14:17:58 -08:00
Denys Smirnov
c8f2018245
Add optional token for SIP outbound. ( #589 )
2024-02-05 18:13:51 +02:00
Benjamin Pracht
67252493b1
Add logging_keys parameter to GetIngressInfoResponse and StartIngress ( #588 )
2024-01-31 11:53:04 -08:00
David Colburn
54f76fc686
add jitter to StartEgress request ( #587 )
2024-01-29 16:38:42 -08:00
Denys Smirnov
3bd4ca5433
Remove unused SIP participant APIs. ( #578 )
2024-01-24 18:38:16 +02:00
Paul Wells
9e82495c04
add psrpc redis keepalive ( #582 )
...
* add psrpc redis keepalive
* generated protobuf
* codegen
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-01-21 06:12:01 -08:00
Paul Wells
cf33ad3861
remove psrpc enabled config ( #577 )
...
* remove psrpc enabled config
* generated protobuf
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-01-18 03:25:40 -08:00
David Colburn
e17b08e9a4
Add topics to ListActiveEgress ( #574 )
...
* add topics to ListActiveEgress
* generated protobuf
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-01-16 17:03:18 -08:00
Sean DuBois
8ad4c79e2d
Enable topics for InternalUpdateSIPParticipant ( #573 )
2024-01-12 16:06:31 -05:00
renovate[bot]
00894c56f4
Update module google.golang.org/protobuf to v1.32.0 ( #556 )
...
* Update module google.golang.org/protobuf to v1.32.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>
2023-12-22 09:40:18 -08:00
David Zhao
c09e8e07fd
Added AgentRegistered broadcast to clients ( #549 )
...
* Added AgentRegistered broadcast to clients
* generated protobuf
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-12-20 08:09:56 -08:00
Benjamin Pracht
b5b083960d
Implement exponential backoff in egress RPC client retry logic ( #545 )
2023-12-13 15:22:37 -08:00
David Colburn
4bd1ed6a02
process monitoring ( #529 )
...
* process monitoring
* generated protobuf
* don't need min
* updates
* fix float
* update names, cpu calculation
* generated protobuf
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-12-05 10:46:13 -08:00
Sean DuBois
a64882f692
Add token and ws_url to EvaluateSIPDispatchRulesResponse ( #538 )
2023-12-04 13:48:53 -05:00
Sean DuBois
5ffa9f0c65
Add called host to SIP Trunk+DispatchRule request ( #537 )
2023-12-04 11:40:31 -05:00
David Colburn
3b3c5b2329
fix clientParams assumptions ( #533 )
2023-11-29 15:21:39 -08:00
David Zhao
61e646265f
Improve consistency for Egress/Ingress client constructors ( #526 )
...
Other psrpc clients are using this syntax to set logger, default timeouts/etc
2023-11-27 22:55:55 -08:00