-
Notifications
You must be signed in to change notification settings - Fork 689
Application Configuration Documentation
The Ant Media Server configurations can be made directly from the files as well as through the management console. The documentation of all the application settings are provided below.
These settings are set for each applications and stored in the file <AMS_DIR>/webapps/<AppName>/WEB-INF/red5-web.properties.
Management panel allows some changes however, the file is much more extensive, see the link above to reach all the settings.
Use case example:
- Open the link https://antmedia.io/javadoc/io/antmedia/AppSettings.html.
- Find the setting that you need on the Field Summary Section. Check the description if needed. Most of the settings are self explanatory.
- Click on the name of the field i.e. aacEncodingEnabled
@Value("${settings.aacEncodingEnabled:true}")
private boolean aacEncodingEnabled
If aacEncodingEnabled is true, aac encoding will be active even if mp4 or hls muxing is not enabled, If aacEncodingEnabled is false, aac encoding is only activated if mp4 or hls muxing is enabled in the settings, This value should be true if you're sending stream to RTMP endpoints or enable/disable mp4 recording on the fly
- It is a boolean type and its default value is true as shown in the @Value section
** To change it, you should change the following folder <AMS_DIR>/webapps/<AppName>/WEB-INF/red5-web.properties
- If the setting is not already in
<AMS_DIR>/webapps/<AppName>/WEB-INF/red5-web.propertiesyou can add a new line to change it settings.aacEncodingEnabled=false
Go to directory Ant-Media-Server-Common/
$ mvn javadoc:javadoc -Dshow=private
Maven will create javadoc containing all the classes, we need only AppSettings
-
Ant-Media-Server-Common/target/site/apidocs/io/antmedia/AppSettings.html
-
Ant-Media-Server-Common/target/site/apidocs/io/antmedia/package-summary.html
-
Ant-Media-Server-Common/target/site/apidocs/io/antmedia/package-tree.html
-
Ant-Media-Server-Common/target/site/apidocs/resources (dir)
-
Ant-Media-Server-Common/target/site/apidocs/*.css
-
Ant-Media-Server-Common/target/site/apidocs/*.js
Files must be in this order on the document file lets say its (AppSettingsDoc) - ( directory structure io/antmedia should be conserved for proper operation, don't put AppSettings.html directly in the document folder, it should be in io/antmedia/ )
/io/antmedia/AppSettings.html
/io/antmedia/package-summary.html
/io/antmedia/package-tree.html
/resources
/*.css
/*.js
Send the new versions to antmedia.io/javadoc
- 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