Skip to content

Missing easyrtc.js, naming incosistencies #411

Answered by vincentfretin
jimver04 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, the example works as intended.
server/easyrtc-server.js is the server part, you shouldn't include it in a script tag.

The file is used when you run
npm run dev or npm start

The easyrtc-server.js file is a node app with the express framework that define several routes including /easyrtc/easyrtc.js defined by the open-easyrtc library.
The /easyrtc/easyrtc.js route is defined here. The apiPublicFolder that is /easyrtc is defined here

You need to access the example via the server, so http://localhost:8080/basic-audio.html
The /easyrtc/easyrtc.js script will download the open-easyrtc lib through the node server dynamically.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by vincentfretin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #286 on April 18, 2023 08:51.