From 8ca0352c815ac6a461fd1b56f95c4b74e99afd25 Mon Sep 17 00:00:00 2001 From: Gabe Debes Date: Thu, 17 Sep 2026 16:40:28 -0700 Subject: [PATCH] [build-tools] raise the simulator preview stream to 1600px and 10 Mbps --- CHANGELOG.md | 1 + .../steps/utils/__tests__/remoteDeviceRunSession.test.ts | 4 ++-- .../build-tools/src/steps/utils/remoteDeviceRunSession.ts | 7 ++----- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 50bdfab93e..698f838dc4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ This is the log of notable changes to EAS CLI and related packages. ### 🎉 New features - [build-tools] Pass `--share-url` when launching serve-sim so Share copies the expo.dev preview page instead of the tunnel URL. ([#4434](https://github.com/expo/eas-cli/pull/4434) by [@gwdp](https://github.com/gwdp)) +- [build-tools] Stream iOS Simulator previews at 1600px and 10 Mbps. ([#4439](https://github.com/expo/eas-cli/pull/4439) by [@gwdp](https://github.com/gwdp)) ### 🐛 Bug fixes diff --git a/packages/build-tools/src/steps/utils/__tests__/remoteDeviceRunSession.test.ts b/packages/build-tools/src/steps/utils/__tests__/remoteDeviceRunSession.test.ts index 8cc66e000e..567a109d15 100644 --- a/packages/build-tools/src/steps/utils/__tests__/remoteDeviceRunSession.test.ts +++ b/packages/build-tools/src/steps/utils/__tests__/remoteDeviceRunSession.test.ts @@ -143,11 +143,11 @@ describe(createServeSimArgs, () => { '--webrtc-codec', 'h264', '--max-dimension', - '960', + '1600', '--mjpeg-quality', '0.55', '--video-bitrate', - '6000000', + '10000000', '--video-fps', '60', '--turn-url', diff --git a/packages/build-tools/src/steps/utils/remoteDeviceRunSession.ts b/packages/build-tools/src/steps/utils/remoteDeviceRunSession.ts index e1d7c673ac..8c5324b31c 100644 --- a/packages/build-tools/src/steps/utils/remoteDeviceRunSession.ts +++ b/packages/build-tools/src/steps/utils/remoteDeviceRunSession.ts @@ -27,12 +27,9 @@ import { SERVE_SIM_STATE_DIR, readServeSimServersAsync } from './serveSimMetrics const XCODE_DEVELOPER_DIR = '/Applications/Xcode.app/Contents/Developer'; const WEB_PREVIEW_HOST = '127.0.0.1'; const SERVE_SIM_PACKAGE_NAME = '@expo/serve-sim'; -// Pinned while H.264 is known to stall at larger encode sizes without recovering. -// Passing this explicitly also overrides serve-sim's own default H.264 cap, so raising it -// loses that guard too. -const SERVE_SIM_MAX_DIMENSION = '960'; +const SERVE_SIM_MAX_DIMENSION = '1600'; const SERVE_SIM_MJPEG_QUALITY = '0.55'; -const SERVE_SIM_VIDEO_BITRATE = '6000000'; +const SERVE_SIM_VIDEO_BITRATE = '10000000'; const SERVE_SIM_VIDEO_FPS = '60'; const EXPO_DEVICE_HUB_PACKAGE_NAME = 'expo-device-hub'; const EXPO_DEVICE_HUB_MAX_DIMENSION = '960';