Skip to content

Commit

Permalink
Merge pull request #529 from ant-media/fix-webrtc-undefined-playback
Browse files Browse the repository at this point in the history
Fix webrtc undefined js error and UTF-8 support for html pages
  • Loading branch information
mekya authored Feb 1, 2025
2 parents 8d0e33c + 4c54276 commit 7af3d0d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
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

0 comments on commit 7af3d0d

Please sign in to comment.