-
Notifications
You must be signed in to change notification settings - Fork 680
Embedded Web Player
You can use play.html page on your website with IFrame. play.html page is in the Application folder on Ant Media Server.
-
id: the stream id to play. It is mandatory. -
token: the token to play the stream. It's mandatory if token security is enabled on the server-side. -
autoplay: To start playing automatically if streams are available. Optional. The default value is true -
playOrder: the order which technologies is used in playing. Optional. Default value iswebrtc,hls. possible values arehls,webrtc,webrtc,hls
You can use play.html in IFrame as below:
<iframe width="560" height="315" src="https://your_domain_name:5443/LiveApp/play.html?name=125214322064017559554903" frameborder="0" allowfullscreen></iframe>
IFrame status changes to playing when any broadcast is streaming as below image
If you embed play.html page in somewhere, stream resolution seems max-width = 640px, max-height = 480px. If you want to show more than height/width, you should change max-width and max-height parameters in play.html page.
HLS Player parameters URL: https://github.com/ant-media/StreamApp/blob/master/src/main/webapp/play.html#L34
WebRTC Player parameters URL: https://github.com/ant-media/StreamApp/blob/master/src/main/webapp/play.html#L50
- 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

