Skip to content

Commit 3fc0535

Browse files
koumiGooglecopybara-github
authored andcommitted
fix: Change sample app to just accept meeting code, adding space prefix is unnecessarily confusing. Modify tsconfig to include experimental MediaStreamTrackProcessor types
PiperOrigin-RevId: 725691903
1 parent 1ab7a75 commit 3fc0535

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

web/samples/dist/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
const meetingCode = document.getElementById('meeting-code').value;
3838
const videoStreamCount = document.getElementById('video-stream').value;
3939
const enableAudio = document.getElementById('audio-stream').checked;
40-
createClient(meetingCode, videoStreamCount, enableAudio, authToken);
40+
createClient('spaces/' + meetingCode, videoStreamCount, enableAudio, authToken);
4141
});
4242

4343
const loginButton = document.getElementById('login');
@@ -70,7 +70,7 @@
7070
<label for="meeting-code">Meeting Code</label>
7171
<input id="meeting-code">
7272
<label id="video-stream-label" for="video-stream">Number of video streams: 0</label>
73-
<input id="video-stream" type="range" min="0" max="6" value="0">
73+
<input id="video-stream" type="range" min="0" max="3" value="0">
7474
<label for="audio-stream">Enable Audio?</label>
7575
<input id="audio-stream" type="checkbox">
7676
<button id="create-client">Create Client</button>

web/samples/tsconfig.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
"baseUrl": ".",
1717
"paths": {
1818
"*": ["../*"]
19-
}
19+
},
20+
"noUnusedParameters": false,
21+
"types": ["../types/mediacapture_transform"]
2022
}
2123
}

0 commit comments

Comments
 (0)