livekit wip
This commit is contained in:
37
examples/meet/index.html
Normal file
37
examples/meet/index.html
Normal file
@@ -0,0 +1,37 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>LiveKit Meet - Yew</title>
|
||||
<link data-trunk rel="css" href="styles.css" />
|
||||
<script src="https://unpkg.com/livekit-client/dist/livekit-client.umd.js"></script>
|
||||
<script>
|
||||
// Debug: Check what's available globally immediately after script loads
|
||||
console.log('=== LiveKit Debug Info (immediate) ===');
|
||||
console.log('window.LiveKit:', window.LiveKit);
|
||||
console.log('window.Room:', window.Room);
|
||||
console.log('window.LiveKitRoom:', window.LiveKitRoom);
|
||||
|
||||
// Check if LivekitClient is available and what it contains
|
||||
if (window.LivekitClient) {
|
||||
console.log('LivekitClient object keys:', Object.keys(window.LivekitClient));
|
||||
console.log('LivekitClient.Room:', window.LivekitClient.Room);
|
||||
console.log('LivekitClient.Participant:', window.LivekitClient.Participant);
|
||||
console.log('LivekitClient.Track:', window.LivekitClient.Track);
|
||||
}
|
||||
|
||||
// Also check on DOMContentLoaded
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
console.log('=== LiveKit Debug Info (DOMContentLoaded) ===');
|
||||
console.log('window.LivekitClient:', window.LivekitClient);
|
||||
if (window.LivekitClient) {
|
||||
console.log('LivekitClient object keys:', Object.keys(window.LivekitClient));
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<body data-lk-theme="default">
|
||||
<div id="app"></div>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user