Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix webrtc undefined js error and UTF-8 support for html pages #529

Merged
merged 3 commits into from
Feb 1, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion embedded-player/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"author": "",
"license": "ISC",
"dependencies": {
"@antmedia/web_player": "3.0.0-SNAPSHOT-2024-Dec-23-03-22"
"@antmedia/web_player": "^2.11.11"
},

"devDependencies": {
Expand Down
2 changes: 2 additions & 0 deletions redeploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ AMS_DIR=~/softwares/ant-media-server


#Latest sdk is to be deployed to src/main/webapp
rm -rf dist
npm run compile
OUT=$?
if [ $OUT -ne 0 ]; then
Expand All @@ -13,6 +14,7 @@ fi

#Deploy latest embedded player to the src/main/webapp
cd embedded-player
rm -rf dist
npm run compile
OUT=$?
if [ $OUT -ne 0 ]; then
Expand Down
1 change: 0 additions & 1 deletion src/main/webapp/WEB-INF/red5-web.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ webapp.dbName=StreamApp.db
settings.webRTCEnabled=true

settings.vodFolder=
settings.hlsListSize=5
settings.hlsTime=2
settings.mp4MuxingEnabled=false
settings.encoderSettingsString=
Expand Down
6 changes: 0 additions & 6 deletions src/main/webapp/WEB-INF/web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -251,12 +251,6 @@
<servlet-name>hls-upload-servlet</servlet-name>
<url-pattern>/hls-upload/*</url-pattern>
</servlet-mapping>

<servlet-mapping>
<servlet-name>jsp</servlet-name>
<url-pattern>*.html</url-pattern>
</servlet-mapping>

<mime-mapping>
<extension>m3u8</extension>
<mime-type>application/vnd.apple.mpegurl</mime-type>
Expand Down