Skip to content

Commit

Permalink
Make WebRTC input demo uses the OvenLiveKit CDN
Browse files Browse the repository at this point in the history
  • Loading branch information
SangwonOh committed Aug 19, 2021
1 parent 1abf29f commit 9517750
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1,350 deletions.
6 changes: 3 additions & 3 deletions docs/demo_input.html
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ <h5 class="card-title">Input Sources</h5>
<script src="https://code.jquery.com/jquery-3.6.0.slim.min.js" integrity="sha256-u7e5khyithlIdTpu22PHhENmPcRdFiHRjhAuHcs05RI=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.min.js" integrity="sha384-+YQ4JLhjyBLPDQt//I+STsc9iw4uQqACwlvpslubQzn4u2UU2UFM80nGisd026JF" crossorigin="anonymous"></script>
<script src="./lib/OvenWebRTCInput.js?20210423"></script>
<script src="https://cdn.jsdelivr.net/npm/ovenlivekit@latest/dist/OvenLiveKit.min.js"></script>

<script>

Expand Down Expand Up @@ -540,7 +540,7 @@ <h5 class="card-title">Input Sources</h5>

resetMessages();

input = OvenWebRTCInput.create({
input = OvenLiveKit.create({
callbacks: {
error: function (error) {

Expand Down Expand Up @@ -769,7 +769,7 @@ <h5 class="card-title">Input Sources</h5>


// get all devices at the first time
OvenWebRTCInput.getDevices().then(function (devices) {
OvenLiveKit.getDevices().then(function (devices) {

allDevices = devices;
initDemo();
Expand Down
Loading

0 comments on commit 9517750

Please sign in to comment.