-
Notifications
You must be signed in to change notification settings - Fork 637
Add Your Customized Apps to Ant Media Server
Attention: We have migrated our documentation to our new platform, Ant Media Resources. Please follow this link for the latest and up-to-date documentation.
NOTE: We have updated our documentation. This page is outdated. You can access updated version from the sidebar menu.
Ant Media Server comes with two apps LiveApp and WebRTCApp (WebRTCAppEE in the enterprise edition). You can customize/rename existing apps or add new ones. You have two options to add new apps. Lets have a look at them;
Step 1: Copy LiveApp or WebRTCApp folder located under /webapps folder and paste with your application name.
Step 3: Customize app according to your needs.
Step 4: Configure your app according to described in the Configuration section of this document.
Step 5: Restart Ant Media Server.
Step 1: Clone app according to your needs from Github. The links of apps:
-
WebRTCApp: https://github.com/ant-media/WebRTCApp
-
WebRTCAppEE: https://github.com/ant-media/WebRTCApp4Enterprise (runs only with Enterprise Edition)
Step 2: Customize app according to your needs.
Step 3: Configure your app according to described in the Configuration section of this document.
Step 4: Build your app with Maven.
Step 5: Put your built war file to under /webapps folder.
Step 6: Restart Ant Media Server.
Step 1: Change the app names in the webapps//WEB-INF/web.xml (if you build, find it in /src/main/webapp)
<display-name><AppName></display-name>
<context-param> <param-name>webAppRootKey</param-name> <param-value>/<AppName></param-value> </context-param>
Step 2: Change the app names in the webapps//WEB-INF/red5-web.properties (if you build, find it in /src/main/webapp)
webapp.contextPath=/<AppName>
db.app.name=<AppName>
db.name=<AppName>
Step 3: Edit related HTML files: index.html, play.html (for WebRTCApps)
- Change websocket URL with your app name. Example:
var path = location.hostname + ":" + location.port + "/<AppName>/websocket";
- Introduction
- Quick Start
- Installation
- Publishing Live Streams
- Playing Live Streams
- Conference Call
- Peer to Peer Call
- Adaptive Bitrate(Multi-Bitrate) Streaming
- Data Channel
- Video on Demand Streaming
- Simulcasting to Social Media Channels
- Clustering & Scaling
- Monitor Ant Media Servers with Apache Kafka and Grafana
- WebRTC SDKs
- Security
- Integration with your Project
- Advanced
- WebRTC Load Testing
- TURN Servers
- AWS Wavelength Deployment
- Multi-Tenancy Support
- Monitor Ant Media Server with Datadog
- Clustering in Alibaba
- Playlist
- Kubernetes
- Time based One Time Password
- Kubernetes Autoscaling
- Kubernetes Ingress
- How to Install Ant Media Server on EKS
- Release Tests
- Spaceport Volumetric Video
- WebRTC Viewers Info
- Webhook Authentication for Publishing Streams
- Recording Streams
- How to Update Ant Media Server with Cloudformation
- How to Install Ant Media Server on GKE
- Ant Media Server on Docker Swarm
- Developer Quick Start
- Recording HLS, MP4 and how to recover
- Re-streaming update
- Git Branching
- UML Diagrams