diff --git a/src/shapes/VideoChatShapeUtil.tsx b/src/shapes/VideoChatShapeUtil.tsx index 60c0b06..e66ce16 100644 --- a/src/shapes/VideoChatShapeUtil.tsx +++ b/src/shapes/VideoChatShapeUtil.tsx @@ -131,10 +131,6 @@ export class VideoChatShape extends BaseBoxShapeUtil {

Joining room...

) : isInRoom && shape.props.roomUrl && typeof window !== 'undefined' ? (
- {/* -
*/} { people="on" style={{ width: '100%', height: '100%', objectFit: 'cover' }} > - {/*
*/}
) : (
diff --git a/worker/TldrawDurableObject.ts b/worker/TldrawDurableObject.ts index 8c59955..fa8b69d 100644 --- a/worker/TldrawDurableObject.ts +++ b/worker/TldrawDurableObject.ts @@ -101,6 +101,8 @@ export class TldrawDurableObject { ? ((await roomFromBucket.json()) as RoomSnapshot) : undefined console.log("room data", roomFromBucket) + const serializedRoom = JSON.stringify(initialSnapshot, null, 2) + console.log("serialized room", serializedRoom) // create a new TLSocketRoom. This handles all the sync protocol & websocket connections. // it's up to us to persist the room state to R2 when needed though. return new TLSocketRoom({