Skip to content

Commit d340cac

Browse files
committed
Node 18 build
1 parent e2495d9 commit d340cac

File tree

5 files changed

+2219
-4746
lines changed

5 files changed

+2219
-4746
lines changed

voice-apps-calling/client.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ startCallButton.onclick = async () => {
6969
try {
7070
const localVideoStream = await createLocalVideoStream();
7171
const videoOptions = localVideoStream ? { localVideoStreams: [localVideoStream] } : undefined;
72-
call = callAgent.startCall([{ botId: voiceApplicationId.value.trim(), cloud:"public" }], { videoOptions: videoOptions });
72+
call = callAgent.startCall([{ teamsAppId: voiceApplicationId.value.trim(), cloud:"public" }], { videoOptions: videoOptions });
7373
// Subscribe to the call's properties and events.
7474
subscribeToCall(call);
7575
} catch (error) {

voice-apps-calling/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ <h4>Azure Communication Services - Teams Calling Web Application</h4>
3030
<br>
3131
<div id="localVideoContainer" style="width: 30%;" hidden>Local video stream:</div>
3232
<!-- points to the bundle generated from client.js -->
33-
<script src="./bundle.js"></script>
33+
<script src="./main.js"></script>
3434
</body>
3535
</html>

0 commit comments

Comments
 (0)