Debian Codegraph @

html/demos/audiobridge.html

raw ◀ ▶
3 Debian patches touch this file
1 <!DOCTYPE html>
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <meta charset="utf-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
7 <title>Janus WebRTC Server (multistream): Audio Bridge Demo</title>
•8 <script type="text/javascript" src="javascript/webrtc-adapter/adapter.min.js" ></script>
9 <script type="text/javascript" src="javascript/jquery/jquery.min.js" ></script>
10 <script type="text/javascript" src="javascript/popper.js/popper.js"></script>
11 <script type="text/javascript" src="javascript/jquery-blockui/jquery.blockUI.js" ></script>
12 <script type="text/javascript" src="javascript/bootstrap5/js/bootstrap.min.js"></script>
13 <script type="text/javascript" src="javascript/bootbox/bootbox.min.js"></script>
14 <script type="text/javascript" src="javascript/bootstrap-slider/bootstrap-slider.min.js"></script>
15 <script type="text/javascript" src="settings.js" ></script>
•16 <script type="text/javascript" src="javascript/janus-gateway/janus.min.js" ></script>
17 <script type="text/javascript" src="audiobridge.js"></script>
18 <script>
19 $(function() {
20 $(".fixed-top").load("navbar.html", function() {
21 $(".fixed-top li.dropdown").addClass("active");
22 $(".fixed-top a[href='audiobridge.html']").addClass("active");
23 });
24 $(".footer").load("../footer.html");
25 });
26 </script>
•27 <!--<link rel="stylesheet" href="javascript/bootswatch/cerulean/bootstrap.min.css" type="text/css"/>-->
•28 <link rel="stylesheet" href="demo.css" type="text/css"/>
•29 <link rel="stylesheet" href="fonts/font-awesome/css/font-awesome.min.css" type="text/css"/>
30 <link rel="stylesheet" href="javascript/bootstrap-slider/bootstrap-slider.min.js" type="text/css"/>
31 </head>
32 <body>
33
34 <a href="https://github.com/meetecho/janus-gateway"><img style="position: absolute; top: 0; left: 0; border: 0; z-index: 2001;" src="../forkme_left_darkblue_121621.png" alt="Fork me on GitHub"></a>
35
36 <div class="navbar navbar-expand-lg fixed-top navbar-dark bg-primary">
37 </div>
38
39 <div class="container">
40 <div class="row">
41 <div class="col-md-12">
42 <div class="pb-2 mt-4 mb-2 border-bottom">
43 <h1>Plugin Demo: Audio Bridge (mixed)
44 <button class="btn btn-secondary" autocomplete="off" id="start">Start</button>
45 </h1>
46 </div>
47 <div class="container" id="details">
48 <div class="row">
49 <div class="alert alert-primary mt-2 mb-5">
50 Want to learn more about the <strong>AudioBridge</strong> plugin?
51 Check the <a target="_blank" href="https://janus.conf.meetecho.com/docs/audiobridge">Documentation</a>.
52 </div>
53 </div>
54 <div class="row">
55 <div class="col-md-12">
56 <h3>Demo details</h3>
57 <p>The Audio Bridge demo is a simple example of how to implement
58 an audio conferencing application through Janus. Since it makes use
59 of the AudioBridge plugin, all the audio contributions will be mixed,
60 which means that a single PeerConnection will be created no matter
61 how many participants will join the room.</p>
62 <p>To try the demo, just insert a username to join the default audio
63 room that is configured. This will add you to the mixed audio conference.
64 A container on the left will display a list of the other participants
65 in the room as they join, with a simple indicator to inform you whether
66 they're muted or not. You can mute/unmute yourself using the icon that
67 will appear next to your name.</p>
68 <p>Press the <code>Start</code> button above to launch the demo.</p>
69 </div>
70 </div>
71 </div>
72 <div class="container mt-4 hide" id="audiojoin">
73 <div class="row">
74 <span class="badge bg-info" id="you"></span>
75 <div class="col-md-12" id="controls">
76 <div class="input-group mt-3 mb-1 hide" id="registernow">
77 <span class="input-group-text"><i class="fa-solid fa-user"></i></span>
78 <input class="form-control" type="text" placeholder="Choose a display name" autocomplete="off" id="username" onkeypress="return checkEnter(this, event);" />
79 <span class="input-group-btn">
80 <button class="btn btn-success" autocomplete="off" id="register">Join the room</button>
81 </span>
82 </div>
83 </div>
84 </div>
85 </div>
86 <div class="container mt-4 hide" id="room">
87 <div class="row">
88 <div class="col-md-6">
89 <div class="card">
90 <div class="card-header">
91 <span class="card-title">Participants <span class="badge bg-info hide" id="participant"></span>
92 <div class="btn-group btn-group-sm top-right">
93 <button class="btn btn-danger hide" autocomplete="off" id="toggleaudio">Mute</button>
94 <button class="btn btn-primary hide" autocomplete="off" id="position">Position</button>
95 <button class="btn btn-secondary hide" autocomplete="off" id="togglesuspend">Suspend</button>
96 </div>
97 </div>
98 <div class="card-body">
99 <ul id="list" class="list-group">
100 </ul>
101 </div>
102 </div>
103 </div>
104 <div class="col-md-6">
105 <div class="card">
106 <div class="card-header">
107 <span class="card-title">Mixed Audio</span>
108 </div>
109 <div class="card-body" id="mixedaudio"></div>
110 </div>
111 </div>
112 </div>
113 </div>
114 </div>
115 </div>
116
117 <hr>
118 <div class="footer">
119 </div>
120 </div>
121
122 </body>
123 </html>