@expo/serve-sim 0.1.44 → 0.1.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/dist/middleware.js +46 -46
- package/dist/native/serve-sim-native.node +0 -0
- package/dist/serve-sim.js +78 -78
- package/package.json +1 -1
- package/src/stream-settings.ts +53 -1
package/README.md
CHANGED
|
@@ -114,6 +114,10 @@ WebRTC uses HTTP for SDP signaling and RTP for video. Simulator input and screen
|
|
|
114
114
|
metadata continue over the existing helper WebSocket. ICE prefers a direct UDP
|
|
115
115
|
path when one is reachable, even if the page was loaded through a tunnel URL;
|
|
116
116
|
TURN is used as a fallback when direct/STUN candidates fail.
|
|
117
|
+
Starting with `--transport webrtc` locks the preview to WebRTC for the lifetime
|
|
118
|
+
of the server. The UI exposes only WebRTC codec and encoder controls, the
|
|
119
|
+
settings API rejects HTTP-only controls, and the MJPEG/AVCC endpoints return
|
|
120
|
+
`409 stream_transport_locked` instead of opening tunneled screen streams.
|
|
117
121
|
While a peer is connected, one absolute-cadence publisher continuously submits
|
|
118
122
|
the latest captured frame at the configured `--video-fps`. SimulatorKit change
|
|
119
123
|
callbacks are supplemented by a 60 Hz IOSurface seed poll; that poll is a
|