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
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ NEXT_PUBLIC_APP_CONFIG="
title: 'LiveKit Agents Playground'
description: 'A virtual workbench for your multimodal AI agents.'
github_link: 'https://github.com/livekit/agents-playground'
video_fit: 'cover' # 'contain' or 'cover'
video_fit: 'contain' # 'contain' or 'cover'
settings:
editable: true # Should the user be able to edit settings in-app
theme_color: 'cyan'
Expand Down
2 changes: 1 addition & 1 deletion src/components/playground/Playground.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export default function Playground({
useDataChannel(onDataReceived);

const videoTileContent = useMemo(() => {
const videoFitClassName = `object-${config.video_fit || "cover"}`;
const videoFitClassName = `object-${config.video_fit || "contain"}`;

const disconnectedContent = (
<div className="flex items-center justify-center text-gray-700 text-center w-full h-full">
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useConfig.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export type UserSettings = {
const defaultConfig: AppConfig = {
title: "LiveKit Agents Playground",
description: "A virtual workbench for testing multimodal AI agents.",
video_fit: "cover",
video_fit: "contain",
settings: {
editable: true,
theme_color: "cyan",
Expand Down