Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
159 changes: 108 additions & 51 deletions livekit/livekit_models.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions protobufs/livekit_models.proto
Original file line number Diff line number Diff line change
Expand Up @@ -315,8 +315,9 @@ message UserPacket {
optional uint64 end_time = 10;
// added by SDK to enable de-duping of messages, for INTERNAL USE ONLY
bytes nonce = 11;

// NEXT_ID: 12
Encryption.Type encryption_type = 12; // defaults to NONE
bytes iv = 13;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is iv for?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://developer.mozilla.org/en-US/docs/Web/API/AesGcmParams#iv

a necessary unique initialisation vector for each encryption operation

// NEXT_ID: 14
}

message SipDTMF {
Expand Down Expand Up @@ -357,6 +358,8 @@ message RpcRequest {
string payload = 3;
uint32 response_timeout_ms = 4;
uint32 version = 5;
Encryption.Type encryption_type = 6; // defaults to NONE
bytes iv = 7;
}

message RpcAck {
Expand All @@ -369,6 +372,8 @@ message RpcResponse {
string payload = 2;
RpcError error = 3;
}
Encryption.Type encryption_type = 4; // defaults to NONE
bytes iv = 5;
}

message RpcError {
Expand Down