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
10 changes: 5 additions & 5 deletions LiveKitExample.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 20260113;
CURRENT_PROJECT_VERSION = 20260212;
DEAD_CODE_STRIPPING = YES;
DEBUG_INFORMATION_FORMAT = dwarf;
DEVELOPMENT_TEAM = 76TVFCUKK7;
Expand All @@ -664,7 +664,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MARKETING_VERSION = 2.11.0;
MARKETING_VERSION = 2.12.0;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
Expand Down Expand Up @@ -711,7 +711,7 @@
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 20260113;
CURRENT_PROJECT_VERSION = 20260212;
DEAD_CODE_STRIPPING = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = 76TVFCUKK7;
Expand All @@ -728,7 +728,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MARKETING_VERSION = 2.11.0;
MARKETING_VERSION = 2.12.0;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
STRING_CATALOG_GENERATE_SYMBOLS = YES;
Expand Down Expand Up @@ -793,7 +793,7 @@
repositoryURL = "https://github.com/livekit/client-sdk-swift";
requirement = {
kind = exactVersion;
version = 2.11.0;
version = 2.12.0;
};
};
B5C2EF142D0114C800FAC766 /* XCRemoteSwiftPackageReference "components-swift" */ = {
Expand Down

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

6 changes: 6 additions & 0 deletions Multiplatform/Views/RoomView.swift
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Buildable on tvOS

Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ struct RoomView: View {
)
}

#if !os(tvOS)
func audioControlsPanel(geometry: GeometryProxy) -> some View {
AudioControlsPanel()
.background(Color.lkGray1)
Expand All @@ -108,6 +109,7 @@ struct RoomView: View {
maxWidth: geometry.isTall ? .infinity : 320
)
}
#endif

func sortedParticipants() -> [Participant] {
room.allParticipants.values.sorted { p1, p2 in
Expand Down Expand Up @@ -177,9 +179,11 @@ struct RoomView: View {
if roomCtx.showMessagesPanel {
messagesPanel(geometry: geometry)
}
#if !os(tvOS)
if roomCtx.showAudioPanel {
audioControlsPanel(geometry: geometry)
}
#endif
}
}
.overlay {
Expand Down Expand Up @@ -414,6 +418,7 @@ struct RoomView: View {
.disabled(isScreenSharePublishingBusy)
#endif

#if !os(tvOS)
Button {
withAnimation {
roomCtx.showAudioPanel.toggle()
Expand All @@ -422,6 +427,7 @@ struct RoomView: View {
Image(systemSymbol: .switch2)
.foregroundColor(roomCtx.showAudioPanel ? .accentColor : nil)
}
#endif

// Toggle messages view (chat example)
Button(action: {
Expand Down