Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
11 changes: 11 additions & 0 deletions .changeset/upgrade_protocol_to_v1480.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
libwebrtc: patch
livekit-api: patch
livekit-datatrack: patch
livekit-ffi: patch
livekit-uniffi: patch
livekit: patch
livekit-protocol: minor
---

# Upgrade protocol to v1.48.0
2 changes: 2 additions & 0 deletions livekit-api/src/services/sip.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,10 @@

// TODO: support these attributes
include_headers: Default::default(),
media_encryption: Default::default(),

Check warning on line 206 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Build (aarch64-unknown-linux-gnu)

use of deprecated field `livekit_protocol::SipInboundTrunkInfo::media_encryption`

Check warning on line 206 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Build (aarch64-apple-darwin)

use of deprecated field `livekit_protocol::SipInboundTrunkInfo::media_encryption`

Check warning on line 206 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Test (aarch64-apple-darwin)

use of deprecated field `livekit_protocol::SipInboundTrunkInfo::media_encryption`

Check warning on line 206 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Build (x86_64-unknown-linux-gnu)

use of deprecated field `livekit_protocol::SipInboundTrunkInfo::media_encryption`

Check warning on line 206 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Test (x86_64-unknown-linux-gnu)

use of deprecated field `livekit_protocol::SipInboundTrunkInfo::media_encryption`

Check warning on line 206 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Build (aarch64-apple-ios-sim)

use of deprecated field `livekit_protocol::SipInboundTrunkInfo::media_encryption`

Check warning on line 206 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Build (x86_64-apple-darwin)

use of deprecated field `livekit_protocol::SipInboundTrunkInfo::media_encryption`

Check warning on line 206 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Build (aarch64-apple-ios)

use of deprecated field `livekit_protocol::SipInboundTrunkInfo::media_encryption`

Check warning on line 206 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Test (x86_64-pc-windows-msvc)

use of deprecated field `livekit_protocol::SipInboundTrunkInfo::media_encryption`

Check warning on line 206 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Build (aarch64-pc-windows-msvc)

use of deprecated field `livekit_protocol::SipInboundTrunkInfo::media_encryption`

Check warning on line 206 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Build (x86_64-pc-windows-msvc)

use of deprecated field `livekit_protocol::SipInboundTrunkInfo::media_encryption`
created_at: Default::default(),
updated_at: Default::default(),
media: Default::default(),
}),
},
self.base.auth_header(
Expand Down Expand Up @@ -246,11 +247,12 @@

// TODO: support these attributes
include_headers: Default::default(),
media_encryption: Default::default(),

Check warning on line 250 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Build (aarch64-unknown-linux-gnu)

use of deprecated field `livekit_protocol::SipOutboundTrunkInfo::media_encryption`

Check warning on line 250 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Build (aarch64-apple-darwin)

use of deprecated field `livekit_protocol::SipOutboundTrunkInfo::media_encryption`

Check warning on line 250 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Test (aarch64-apple-darwin)

use of deprecated field `livekit_protocol::SipOutboundTrunkInfo::media_encryption`

Check warning on line 250 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Build (x86_64-unknown-linux-gnu)

use of deprecated field `livekit_protocol::SipOutboundTrunkInfo::media_encryption`

Check warning on line 250 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Test (x86_64-unknown-linux-gnu)

use of deprecated field `livekit_protocol::SipOutboundTrunkInfo::media_encryption`

Check warning on line 250 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Build (aarch64-apple-ios-sim)

use of deprecated field `livekit_protocol::SipOutboundTrunkInfo::media_encryption`

Check warning on line 250 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Build (x86_64-apple-darwin)

use of deprecated field `livekit_protocol::SipOutboundTrunkInfo::media_encryption`

Check warning on line 250 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Build (aarch64-apple-ios)

use of deprecated field `livekit_protocol::SipOutboundTrunkInfo::media_encryption`

Check warning on line 250 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Test (x86_64-pc-windows-msvc)

use of deprecated field `livekit_protocol::SipOutboundTrunkInfo::media_encryption`

Check warning on line 250 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Build (aarch64-pc-windows-msvc)

use of deprecated field `livekit_protocol::SipOutboundTrunkInfo::media_encryption`

Check warning on line 250 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Build (x86_64-pc-windows-msvc)

use of deprecated field `livekit_protocol::SipOutboundTrunkInfo::media_encryption`
destination_country: Default::default(),
created_at: Default::default(),
updated_at: Default::default(),
from_host: Default::default(),
media: Default::default(),
}),
},
self.base.auth_header(
Expand All @@ -265,7 +267,7 @@
#[deprecated]
pub async fn list_sip_trunk(
&self,
filter: ListSIPTrunkFilter,

Check warning on line 270 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Build (aarch64-unknown-linux-gnu)

use of deprecated enum `services::sip::ListSIPTrunkFilter`

Check warning on line 270 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Build (aarch64-apple-darwin)

use of deprecated enum `services::sip::ListSIPTrunkFilter`

Check warning on line 270 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Test (aarch64-apple-darwin)

use of deprecated enum `services::sip::ListSIPTrunkFilter`

Check warning on line 270 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Build (x86_64-unknown-linux-gnu)

use of deprecated enum `services::sip::ListSIPTrunkFilter`

Check warning on line 270 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Test (x86_64-unknown-linux-gnu)

use of deprecated enum `services::sip::ListSIPTrunkFilter`

Check warning on line 270 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Build (aarch64-apple-ios-sim)

use of deprecated enum `services::sip::ListSIPTrunkFilter`

Check warning on line 270 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Build (x86_64-apple-darwin)

use of deprecated enum `services::sip::ListSIPTrunkFilter`

Check warning on line 270 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Build (aarch64-apple-ios)

use of deprecated enum `services::sip::ListSIPTrunkFilter`

Check warning on line 270 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Test (x86_64-pc-windows-msvc)

use of deprecated enum `services::sip::ListSIPTrunkFilter`

Check warning on line 270 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Build (aarch64-pc-windows-msvc)

use of deprecated enum `services::sip::ListSIPTrunkFilter`

Check warning on line 270 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Build (x86_64-pc-windows-msvc)

use of deprecated enum `services::sip::ListSIPTrunkFilter`
) -> ServiceResult<Vec<proto::SipTrunkInfo>> {
let resp: proto::ListSipTrunkResponse = self
.client
Expand Down Expand Up @@ -361,8 +363,8 @@
SVC,
"CreateSIPDispatchRule",
proto::CreateSipDispatchRuleRequest {
name: options.name,

Check warning on line 366 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Build (aarch64-unknown-linux-gnu)

use of deprecated field `livekit_protocol::CreateSipDispatchRuleRequest::name`

Check warning on line 366 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Build (aarch64-apple-darwin)

use of deprecated field `livekit_protocol::CreateSipDispatchRuleRequest::name`

Check warning on line 366 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Test (aarch64-apple-darwin)

use of deprecated field `livekit_protocol::CreateSipDispatchRuleRequest::name`

Check warning on line 366 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Build (x86_64-unknown-linux-gnu)

use of deprecated field `livekit_protocol::CreateSipDispatchRuleRequest::name`

Check warning on line 366 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Test (x86_64-unknown-linux-gnu)

use of deprecated field `livekit_protocol::CreateSipDispatchRuleRequest::name`

Check warning on line 366 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Build (aarch64-apple-ios-sim)

use of deprecated field `livekit_protocol::CreateSipDispatchRuleRequest::name`

Check warning on line 366 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Build (x86_64-apple-darwin)

use of deprecated field `livekit_protocol::CreateSipDispatchRuleRequest::name`

Check warning on line 366 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Build (aarch64-apple-ios)

use of deprecated field `livekit_protocol::CreateSipDispatchRuleRequest::name`

Check warning on line 366 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Test (x86_64-pc-windows-msvc)

use of deprecated field `livekit_protocol::CreateSipDispatchRuleRequest::name`

Check warning on line 366 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Build (aarch64-pc-windows-msvc)

use of deprecated field `livekit_protocol::CreateSipDispatchRuleRequest::name`

Check warning on line 366 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Build (x86_64-pc-windows-msvc)

use of deprecated field `livekit_protocol::CreateSipDispatchRuleRequest::name`
metadata: options.metadata,

Check warning on line 367 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Build (aarch64-unknown-linux-gnu)

use of deprecated field `livekit_protocol::CreateSipDispatchRuleRequest::metadata`

Check warning on line 367 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Build (aarch64-apple-darwin)

use of deprecated field `livekit_protocol::CreateSipDispatchRuleRequest::metadata`

Check warning on line 367 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Test (aarch64-apple-darwin)

use of deprecated field `livekit_protocol::CreateSipDispatchRuleRequest::metadata`

Check warning on line 367 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Build (x86_64-unknown-linux-gnu)

use of deprecated field `livekit_protocol::CreateSipDispatchRuleRequest::metadata`

Check warning on line 367 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Test (x86_64-unknown-linux-gnu)

use of deprecated field `livekit_protocol::CreateSipDispatchRuleRequest::metadata`

Check warning on line 367 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Build (aarch64-apple-ios-sim)

use of deprecated field `livekit_protocol::CreateSipDispatchRuleRequest::metadata`

Check warning on line 367 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Build (x86_64-apple-darwin)

use of deprecated field `livekit_protocol::CreateSipDispatchRuleRequest::metadata`

Check warning on line 367 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Build (aarch64-apple-ios)

use of deprecated field `livekit_protocol::CreateSipDispatchRuleRequest::metadata`

Check warning on line 367 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Test (x86_64-pc-windows-msvc)

use of deprecated field `livekit_protocol::CreateSipDispatchRuleRequest::metadata`

Check warning on line 367 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Build (aarch64-pc-windows-msvc)

use of deprecated field `livekit_protocol::CreateSipDispatchRuleRequest::metadata`

Check warning on line 367 in livekit-api/src/services/sip.rs

View workflow job for this annotation

GitHub Actions / Build (x86_64-pc-windows-msvc)

use of deprecated field `livekit_protocol::CreateSipDispatchRuleRequest::metadata`
attributes: options.attributes,
trunk_ids: options.trunk_ids.to_owned(),
inbound_numbers: options.allowed_numbers.to_owned(),
Expand Down
3 changes: 3 additions & 0 deletions livekit-ffi/src/conversion/room.rs
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,9 @@ impl From<proto::data_stream::Header> for livekit_protocol::data_stream::Header
attributes: msg.attributes,
content_header,
encryption_type: 0,
// Data streams v2 fields
inline_content: None,
compression: livekit_protocol::data_stream::CompressionType::None as i32,
}
}
}
Expand Down
3 changes: 3 additions & 0 deletions livekit-ffi/src/conversion/track.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,9 @@ impl From<livekit_protocol::PacketTrailerFeature> for proto::FrameMetadataFeatur
livekit_protocol::PacketTrailerFeature::PtfFrameId => {
proto::FrameMetadataFeature::FmfFrameId
}
livekit_protocol::PacketTrailerFeature::PtfUserData => {
unimplemented!("Not exposed yet")
}
}
}
}
2 changes: 1 addition & 1 deletion livekit-protocol/protocol
Submodule protocol updated 114 files
104 changes: 89 additions & 15 deletions livekit-protocol/src/livekit.rs

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

Loading
Loading