Skip to content

Sample List

golgetahir edited this page Oct 25, 2021 · 17 revisions

Ant Media Server has samples for demonstrating different use-cases. You can review these sample pages to see Ant Media Server in action.

Default applications in Enterprise Edition are LiveApp and WebRTCAppEE. Default applications in Community Edition are LiveApp and WebRTCApp.

  1. WebRTC Video Publishing
  2. WebRTC Video Playing
  3. WebRTC Audio Publishing
  4. WebRTC Audio Playing

1. WebRTC Video Publishing

Ant Media Server can ingest WebRTC video of users from web browsers.

After installing the server and SSL, you can use the following url to publish video. For installation check out the installation document.

File for publish sample is located at /usr/local/antmedia/webapps/LiveApp/index.html

https://domain-name.com:5443/LiveApp/index.html

Screenshot from 2021-10-25 14-58-46

WebRTC Video Publishing without SSL installed

If you are running the Server on the localhost, there won't be a problem. However, for security reasons web browsers does not allow media device reach without the SSL. For bypassing that in the chrome for development, you can add your server's IP to the following chrome property and it will not ask for SSL, however, it is not recommended to use it in such a way.

chrome://flags/#unsafely-treat-insecure-origin-as-secure

2. WebRTC Video Playing

You can play the streams that is being published to the server with WebRTC video player. WebRTC Video Playing is available in Enterprise Edition

https://domain-name.com:5443/LiveApp/player.html

File is located at /usr/local/antmedia/webapps/LiveApp/player.html

Screenshot from 2021-10-25 15-32-03

3. WebRTC Audio Publishing

WebRTC Audio publishing is available in Enterprise Edition

https://domain-name.com:5443/LiveApp/audio_publish.html

File is located at /usr/local/antmedia/webapps/LiveApp/audio_publish.html

Screenshot from 2021-10-25 15-37-03

4. WebRTC Audio Playing

WebRTC Audio playing is available in Enterprise Edition

https://domain-name.com:5443/LiveApp/audio_player.html

File is located at /usr/local/antmedia/webapps/LiveApp/audio_player.html

Screenshot from 2021-10-25 15-39-43

5. WebRTC Conference

WebRTC Conference is available in Enterprise Edition. Latency in the conference will be around 0.5 seconds.

https://domain-name.com:5443/LiveApp/conference.html

File is located at /usr/local/antmedia/webapps/LiveApp/conference.html

For technical detailed information, please follow the link.

Conference Room Example

WebRTC Peer to Peer

WebRTC Peer to Peer is available in Enterprise Edition

https://domain-name.com:5443/LiveApp/peer.html

File is located at /usr/local/antmedia/webapps/LiveApp/conference.html

You can analyze the WebRTC Video/Audio publish example. For technical detailed information, please follow the link.

WebRTC Multitrack Player

WebRTC Multitrack Player is available in Enterprise Edition

https://domain-name.com:5443/LiveApp/multitrackplayer.html

File is located at /usr/local/antmedia/webapps/LiveApp/multitrackplayer.html

WebRTC Multipeer Player

WebRTC Multitrack Player is available in Enterprise Edition

https://domain-name.com:5443/LiveApp/multipeerplay.html

File is located at /usr/local/antmedia/webapps/LiveApp/multipeerplay.html

User Guide

Reference

Troubleshooting

Draft

Proposals

Clone this wiki locally