Merge pull request #1487 from pipecat-ai/smallwebrtc_ios_support

SmallWebRTCTransport: Improvements to work with mobile
This commit is contained in:
Filipi da Silva Fuchter
2025-03-31 19:10:03 -03:00
committed by GitHub
2 changed files with 46 additions and 18 deletions

View File

@@ -32,6 +32,7 @@ select {
.status-bar {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
padding: 10px;
@@ -69,6 +70,7 @@ button:disabled {
padding: 20px;
margin-bottom: 20px;
display: flex;
flex-wrap: wrap;
}
.bot-container {
@@ -79,8 +81,8 @@ button:disabled {
}
#bot-video-container {
width: 640px;
height: 360px;
width: 90%;
aspect-ratio: 16 / 9;
background-color: #e0e0e0;
border-radius: 8px;
overflow: hidden;
@@ -98,10 +100,18 @@ button:disabled {
.debug-panel {
background-color: #fff;
border-radius: 8px;
padding-left: 20px;
width: 50%;
}
@media (max-width: 768px) {
.bot-container {
width: 100%;
}
.debug-panel {
width: 100%;
}
}
.debug-panel h3 {
margin: 0 0 10px 0;
font-size: 16px;
@@ -109,10 +119,9 @@ button:disabled {
}
#debug-log {
height: 500px;
height: 360px;
overflow-y: auto;
background-color: #f8f8f8;
padding: 10px;
border-radius: 4px;
font-family: monospace;
font-size: 12px;