Skip to content

Commit

Permalink
Merge pull request #528 from ant-media/fix-whip-publish
Browse files Browse the repository at this point in the history
Import whip-client.modern.js to resolve constructor issue
  • Loading branch information
mekya authored Jan 16, 2025
2 parents dba962e + ba89a37 commit 8d0e33c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/webapp/whip.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@

<script type="module">

import { WHIPClient } from "https://esm.sh/@eyevinn/whip-web-client";
//we started to import the WHIPClient this way because module file is causing problem
import { WHIPClient } from "https://esm.sh/@eyevinn/whip-web-client/dist/whip-client.modern.js";

import {getQueryParameter, generateRandomString} from "./js/utility.js"
import {getUrlParameter} from "./js/fetch.stream.js"

Expand Down

0 comments on commit 8d0e33c

Please sign in to comment.