Skip to content

Commit e5fbff5

Browse files
committed
Fixed copilot js bug in webrtc ffmpeg demo.
1 parent 6cb168f commit e5fbff5

File tree

1 file changed

+0
-2
lines changed
  • examples/WebRTCExamples/WebRTCFFmpegGetStarted/wwwroot

1 file changed

+0
-2
lines changed

examples/WebRTCExamples/WebRTCFFmpegGetStarted/wwwroot/index.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,6 @@
131131

132132
pc.onconnectionstatechange = () => {
133133
console.log(`Peer connection state changed to ${pc.connectionState}`);
134-
connectionReady.peer = (pc.connectionState === 'connected');
135-
updateButtonStates();
136134
}
137135

138136
pc.onclose= () => {

0 commit comments

Comments
 (0)