Skip to content

Latest commit

 

History

History
844 lines (427 loc) · 39.8 KB

File metadata and controls

844 lines (427 loc) · 39.8 KB

github.com/livekit/protocol

1.51.0

Minor Changes

  • egress v2: add passthrough to the encoding oneof on StartEgressRequest and ExportReplayRequest; remove the unused EgressHandler.UpdateEgress RPC and the livekit.UpdateEgressRequest message - #1716 (@frostbyte73)

  • add RoomEndReason enum and report it on room-ended telemetry: AnalyticsEvent.room_end_reason and WebhookEvent.room_end_reason now say why a room ended (ROOM_END_API_DELETE, ROOM_END_IDLE_TIMEOUT, ROOM_END_SERVER_SHUTDOWN, ROOM_END_SUPERSEDED, ROOM_END_OPEN_FAILED), so room-end volume can be broken down by cause the way participant disconnects already are - #1748 (@paulwe)

  • TransferSIPParticipant now returns TransferSIPParticipantResponse instead of google.protobuf.Empty, carrying the transfer id, status, a new SIPTransferReason and the SIP status when the outcome came from a SIP response. SIPTransferInfo gains the same reason. This changes the generated method signature: a transfer that reports a non-successful status without an error means the transfer did not complete. - #1730 (@genseric-ghiro)

  • Moved egress passthrough option to an encoding preset. - #1718 (@frostbyte73)

Patch Changes

  • Add agent_job_started / agent_job_ended webhook events and a job field on WebhookEvent - #1711 (@erikhortsch)

  • utils/list: mutations involving a node the list does not own — removing or moving an unlinked node, inserting an already-linked node, or inserting relative to an unlinked mark — are now no-ops, as in container/list. Previously an unlinked node's zeroed hook made Remove/MoveToFront/MoveToBack clear the list's head and tail, silently stranding every remaining element, and re-inserting a linked node forked the list. - #1753 (@paulwe)

  • utils.Promise gains Then(func(T, error)), registering a callback to run when the promise resolves. Callbacks run on the goroutine that calls Resolve, in registration order; registering on an already-resolved promise runs the callback inline on the caller. NewPromise no longer allocates the done channel up front — Done() already created it lazily. - #1747 (@paulwe)

  • Add an error_code label to the livekit_psrpc_error_total metric. - #1699 (@paulwe)

  • Add realtime (speech-to-speech) reporter methods to gatewayobs, regenerated from cloud-observability schema/gateway.yaml realtime billing columns (#502). - #1663 (@russellmartin-livekit)

  • agent simulation: add conciseness and conversation_progression to SimulationRun.RunMetrics - #1742 (@u9g)

  • Add background_noise, low_quality_microphone, and packet_loss to SimulationRun.Create.Request, so an audio simulation run can impair the simulated user's audio. - #1723 (@u9g)

  • Add to_user_override to CreateSIPParticipantRequest to override the user part of the To header, and warn when To/Via are set in the SIP headers map. - #1717 (@genseric-ghiro)

  • Remove extraneous format specifier from log string. - #1682 (@alexfish8)

  • Move the config observer into utils/configutil and drop the stuttering Config prefix. utils.ConfigObserver, utils.ConfigBuilder, utils.ConfigDefaulter and utils.NewConfigObserver remain as aliases. - #1712 (@paulwe)

  • Track holder goroutines of stuck locks (all RWMutex readers up to 8) and resolve their current stacks - #1701 (@erikhortsch)

  • Add data track subscription to sync state - #1703 (@boks1971)

1.50.4

Patch Changes

1.50.3

Patch Changes

  • agent simulation: homogenizes Turn/Job/Run LLM/TTS/STT/Conversation metrics shapes - #1673 (@Bobronium)

1.50.2

1.50.1

Patch Changes

  • Fix recursive call to CreateSIPInboundTrunkRequest.ValidateResult. - #1669 (@alexfish8)

  • agent simulation JobMetrics: add TTS.cer, add STT/TTS words/chars counts, replace jobs_failed with jobs_measured - #1670 (@Bobronium)

1.50.0

Minor Changes

  • agent: add llm_node_tps and llm_node_ttfs to MetricsReport, and an AgentFalseInterruption event to AgentSessionEvent - #1661 (@Bobronium)

  • agent_simulations: add JobMetrics/RunMetrics to SimulationRun — per-job quality metrics grouped by - #1644 (@Bobronium) pipeline stage (stt/llm/tts/conversation, plus a per-turn timeline and headline accuracy/experience scores) and run-level aggregates. Unset optional fields mean "not measured";

  • Add validation method variants that include information about soft errors. - #1667 (@alexfish8)

Patch Changes

1.49.0

Minor Changes

Patch Changes

  • Relax SIP outbound validation to support carriers. - #1611 (@dennwc)

1.48.2

Patch Changes

1.48.1

Patch Changes

1.48.0

Minor Changes

  • Add PTF_USER_DATA to the PacketTrailerFeature enum for arbitrary per-frame user data. - #1639 (@chenosaurus)

  • Introduce a participant RPC protobuf registry for well-known LiveKit RPCs. - #1618 (@dennwc)

  • Add codec config to inbound and outbound SIP trunks. - #1620 (@dennwc)

Patch Changes

1.47.0

Minor Changes

  • agent simulation: add SimulationMode to the Create request and run info, so a - #1627 (@Bobronium) run can request audio mode. Unspecified stays TEXT, so existing callers are unaffected.

1.46.8

1.46.7

Patch Changes

1.46.6

Patch Changes

1.46.5

Patch Changes

  • feat(inference): add default thresholds in session created message - #1598 (@chenghao-mou)

1.46.4

1.46.3

Patch Changes

1.46.2

Patch Changes

  • Allow specifying exact To header and request line for SIP outbound. - #1577 (@dennwc)

1.46.1

Patch Changes

1.46.0

Minor Changes

  • Adding ability to specify media timeout per CreateSIPParticipant request and per Dispatch Rule. - #1534 (@alexlivekit)

Patch Changes

  • feat(eot): add eot prediction event and usage - #1566 (@chenghao-mou)

  • Adding a test for EvaluateDispatchRule - #1555 (@alexlivekit)

  • Wrap SIP validation errors with typed psrpc codes (InvalidArgument for unsupported dispatch rule and inbound trunk auth, FailedPrecondition for outbound trunk missing numbers) so Twirp surfaces them as 4xx instead of 500. Also fix SIPStatus.GRPCStatus() fallback ladder which compared the wrong variable. - #1565 (@hechen-eng)

  • Fix SIP trunk-level MediaEncryption being silently dropped on outbound and inbound calls. The early req.Upgrade() / rule.Upgrade() calls pinned Media.Encryption to the (legacy) request/rule field before the trunk's MediaEncryption was merged, causing INVITEs to omit SRTP when only the trunk had it configured. - #1540 (@hechen-eng)

  • Add optional authentication realm to SIPInboundTrunk. - #1558 (@dennwc)

1.45.8

Patch Changes

  • Allow setting a list of SIP codecs for SDP. - #1530 (@dennwc)

  • fix: ensure we don't reject tokens on unknown fields - #1536 (@davidzhao)

1.45.7

Patch Changes

1.45.6

Patch Changes

1.45.5

1.45.4

1.45.3

Patch Changes

1.45.2

1.45.1

Patch Changes

  • Dropping use of an affinity function in CreateSIPParticipant - #1456 (@alexlivekit)

1.45.0

Minor Changes

Patch Changes

1.44.1

Patch Changes

  • update text message protocol for http endpoints - #1407 (@longcw)

  • Adding feature_flags field to InternalTransferSIPParticipantRequest, InternalCreateSIPParticipantRequest, and EvaluateSIPDispatchRulesResponse - #1382 (@alexlivekit)

1.44.0

Minor Changes

  • Add numbers field to SIPDispatchRuleInfo for filtering calls by called number - #1351 (@civilcoder55)

Patch Changes

  • Add auto_subscribe_data_track to StartSession. - #1366 (@boks1971)

  • Add TextMessageRequest and TextMessageResponse - #1349 (@longcw)

  • Add featureinfo nested field for reporting noise cancellation feature specific metadata - #1367 (@1egoman)

  • Option to control auto subscribe of data tracks. - #1365 (@boks1971)

  • Changing the wording on duplicate dispatch rule error message - #1343 (@alexlivekit)

  • Allow passing ClientParams to SIP RPC client. - #1356 (@dennwc)

  • Add project ID to internal SIPCall info. - #1346 (@dennwc)

  • Add helpers for tracing attributes. - #1363 (@dennwc)

  • Add helper for setting Jaeger tracing. - #1355 (@dennwc)

  • Store repair ssrc in TrackInfo for migration purposes. - #1348 (@boks1971)

1.43.4

Patch Changes

1.43.3

Patch Changes

1.43.2

1.43.1

Patch Changes

1.43.0

Patch Changes

1.42.2

Patch Changes

1.42.1

1.42.0

Minor Changes

Patch Changes

1.41.0

Minor Changes

1.40.0

Minor Changes

Patch Changes

1.39.3

1.39.2

1.39.1

Patch Changes

  • adding detailed responses to the trunk match logic which can help with decisions on blocking - #1101 (@nishadmusthafa)

  • E2E reliability for data channel - #1099 (@cnderrauber)

  • ensure access token do not contain sensitive credentials - #1097 (@davidzhao)

  • WHIP internal signalling to be able to support WHIP in OSS. - #1091 (@boks1971)

1.39.0

Patch Changes

1.38.0

Minor Changes

1.37.1

Patch Changes

  • Deprecate explicit AddTrackRequest fields that can be read from AudioTrackFeatures - #1058 (@lukasIO)

  • Add PreconnectBuffer to AudioTrackFeatures, add AudioTrackFeatures to AddTrackRequest - #1057 (@lukasIO)

1.37.0

Minor Changes

  • Allow updating SIP media encryption. - #1047 (@dennwc)

  • Add helper to get SIP call status from an error. - #1028 (@dennwc)

  • Add timeout parameter to SIP transfer API. - #1036 (@dennwc)

  • Fix SIP update when replacing array fields. - #1038 (@dennwc)

Patch Changes

1.36.1

Patch Changes

1.36.0

Minor Changes

Patch Changes

  • Fix incremental SIP dispatch rule update. - #1014 (@dennwc)

1.35.0

Minor Changes

  • Add ForwardParticipant to room service - #1011 (@cnderrauber)

  • Move SIP call dispatch info into s separate type. - #989 (@dennwc)

  • Handle SIP hostname in address filters. Expose attribute. - #987 (@dennwc)

  • Expose and improve SIP number normalization. - #986 (@dennwc)

  • More analytics fields for SIPCallInfo. - #984 (@dennwc)

1.34.0

Minor Changes

  • Allow passing all SIP trunk options in CreateSIPParticipant. - #961 (@dennwc)

  • Add egress audio mixing options - #978 (@frostbyte73)

  • Expose hooks for SIP trunk and rule matching. - #983 (@dennwc)

Patch Changes

  • Fix iteration over empty and unsorted records. - #971 (@dennwc)

  • Remove SIP outbound number normalization for Telnyx. - #969 (@dennwc)

  • Remove SIP outbound number normalization for Telnyx. - #982 (@dennwc)

1.33.0

Minor Changes

  • Use SIP statuses as Go and gRPC errors. - #960 (@dennwc)

  • Add flag to make CreateSIPParticipant synchronous. - #952 (@dennwc)

  • Add Twirp options to preserve error details and client timeouts. - #963 (@dennwc)

Patch Changes

1.32.1

Patch Changes

1.32.0

Minor Changes

1.31.0

Minor Changes

  • Add media encryption options for SIP. - #892 (@dennwc)

Patch Changes

1.30.0

Minor Changes

Patch Changes

1.29.4

1.29.3

1.29.2

Patch Changes

1.29.1

1.29.0

Minor Changes

1.28.1

1.28.0

Minor Changes

  • Add disconnect reason for SIP failures. - #845 (@dennwc)

  • Map participant attributes to SIP headers. - #893 (@dennwc)

  • Allow setting number for SIP outbound. - #891 (@dennwc)

Patch Changes

1.27.1

Patch Changes

1.27.0

Minor Changes

  • Support for room configuration and agent dispatches - #864 (@davidzhao)

Patch Changes

1.26.0

Minor Changes

1.25.0

Minor Changes

  • Add ringing timeout and max call duration setting for SIP. - #844 (@dennwc)

1.24.0

Minor Changes

Patch Changes

  • Add missing SIP status attribute. - #833 (@dennwc)

  • Validate SipCallTo in CreateSIPParticipantRequest. - #823 (@dennwc)

1.23.0

Patch Changes

1.22.0

Minor Changes

  • Update SIP protocol. Pass headers, project ID and hostname. - #805 (@dennwc)

Patch Changes

1.21.0

Minor Changes

  • Add Callee dispatch rule type for SIP. - #798 (@dennwc)

Patch Changes

  • Add SDK values for Unity-Web and NodeJS. - #797 (@bcherry)

1.20.1

Patch Changes

1.20.0

Minor Changes

  • Send non-error responses also as part of RequestResponse - #787 (@lukasIO)

Patch Changes

  • Add disconnect reason in participant info. - #788 (@boks1971)

  • Use multiple webhook workers for each URL to improve parallelism - #784 (@davidzhao)

1.19.3

1.19.2

Patch Changes

1.19.1

1.19.0

Minor Changes

Patch Changes

1.18.0

Minor Changes

  • Split SIP Trunk configuration to inbound and outbound parts. - #738 (@dennwc)

  • add Participant attributes key/val storage - #733 (@davidzhao)

Patch Changes

1.17.0

Minor Changes

Patch Changes

  • Added error code field to EgressInfo - #714 (@frostbyte73)

  • Include node_id with analytics events - #727 (@davidzhao)

  • Match SIP Trunks by source IP or mask. - #724 (@dennwc)

  • Add notice to use participant identity from DataPacket for transcriptions. - #706 (@dennwc)

1.16.0

Minor Changes

    • Add RedactAutoEncodedOutput to support redacting auto egress types - #712 (@biglittlebigben)
    • Redact image outputs
    • Support AliOSS uploads for auto egress
  • Allow inbound number filtering on SIP Dispatch Rules - #707 (@dennwc)

  • Move egress request redacting routines to protocol - #711 (@biglittlebigben)

1.15.0

Minor Changes

  • Expose Logger constructor for Zap. - #701 (@dennwc)

  • Add metadata to SIP trunks, dispatch rules and participants. Change SIP participant identity prefix to sip_. - #696 (@dennwc)

  • Move language into TranscriptionSegment #703 - #704 (@lukasIO)

1.14.0

Minor Changes

  • Added real-time Transcription protocol - #686 (@davidzhao)

  • WHIP protocol change - #680 (@biglittlebigben)

    Deprecate the bypass_transcoding property in all ingress APIs and introduce the optional enable_transcoding property. This property will default to false for WHIP and to true for all other ingress types.

Patch Changes

1.13.0

Minor Changes

  • Add and option to play ringtone for SIP outbound calls. - #671 (@dennwc)

Patch Changes

1.12.0

Minor Changes

  • Moved CPU stats to a separate hwstats package, removing cgo dependency. - #660 (@dennwc)

Patch Changes

  • Fixed bounds check when masking short SIP numbers. - #650 (@dennwc)

  • Add signal requests for local track updates - #651 (@lukasIO)

  • Allow sending DTMF when creating SIP participant. - #658 (@dennwc)

1.11.0

Minor Changes

  • Align package version with manually tagged golang module - #646 (@lukasIO)

1.10.4

1.10.3

1.10.2