* Data tracks initial protocol definition.
Just cutting and pasting protocol changes in this PR
(https://github.com/livekit/protocol/pull/1229) from @ladvoc. As
merging/generating code has been a challenge, just copying over protocol
changes and re-building.
* Create fair-candles-repeat.md
* generated protobuf
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Updates to the list phone number api
1. Adding new status for phone number called offline
2. Adding offline count in list phone number response
3. Adding dispatch rules ids as a property for phone number so we can return it via the api instead of a single dispatch rule id
* generated protobuf
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Cancellation counts for join/publish/subscribe.
To get a better estimate of errors.
* generated protobuf
* Create friendly-jobs-flash.md
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Utility to clone a proto with redaction.
Would be nice to set size of redacted field back into the message, but
that does not work for all types.
* generated protobuf
* Recursive proto redact.
* generated protobuf
* remove redact_format from TrackInfo name
* generated protobuf
---------
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.
* Adding a destinationRegion field in the CreateSipParticipant request
* generated protobuf
* Using a destination struct instead
* generated protobuf
* Adding validation for the destination field
* Making destination field optional
* generated protobuf
* Tidy
* Using the language package
* Fixing comment
* Fixing return for destination validate
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Adding multiple statuses in ListPhoneNumbersRequest
Adding optional keywords to the right fields and cleaning up commenting
* fix syntax error
* generated protobuf
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Adding a field prevent transfer to provider info
* generated protobuf
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Include mid -> trackID in SDP.
And send it in subscriber peer connection offer also. It can be useful
to clients even in dual peer connection case.
* generated protobuf
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Use mapped SDP answer when using single peer connection mode.
In single peer connection mode, the client does not get the
TR_ ids for tracks. That is because the transceiver is created with a
receiver when the offer is generated and a random id assigned. Once the
id is assigned, it is not updated. So, when client gets `onTrack`, the
id of the associated MediaStreamTrack is not the TR_ variety.
So, send the mapping of mid -> trackID in signalling when sending
answer. And used that on client side to find LK track ID for given mid.
Side note: Probably worth doing it for dual peer connection also when
subscriber sends offer so that we do not have to deduce it on client
side using some rules.
* 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>
* add presigned post request for cloud-agents api
* 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>
* add server region to agent info and create for log handling
* generated protobuf
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Extending models to support MP3 audio encoding in egress
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>