feat: enhance WebRTC pipeline with improved logging and error handling
This commit is contained in:
parent
7147f3f13b
commit
f103ddb7a8
5 changed files with 88 additions and 70 deletions
15
webRTC-test/index.html
Normal file
15
webRTC-test/index.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>WebRTC Video Preview</title>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
<body>
|
||||
<h1>WebRTC Video Stream</h1>
|
||||
<video id="video" autoplay playsinline></video>
|
||||
|
||||
<script src="script.js"></script>
|
||||
</body>
|
||||
</html>
|
15
webRTC-test/style.css
Normal file
15
webRTC-test/style.css
Normal file
|
@ -0,0 +1,15 @@
|
|||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: #4CAF50;
|
||||
}
|
||||
|
||||
#video {
|
||||
width: 100%;
|
||||
max-width: 600px;
|
||||
border: 1px solid #ddd;
|
||||
margin-top: 20px;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue