WebRTC Samples > WebRTC Video Publish & Play
The goal of this sample to let you publish WebRTC video stream to Ant Media Server from your web browser and play the stream from Ant Media Server as a viewer in a separate window. Experience ultra-low latency video streaming from both sides – a streamer and a viewer.
Check out WebRTC vs HLS sample to see for yourself how ultra-low latency streaming is different from the regular one.
Instructions
- Allow access to your camera and microphone.
- Click “Start Publishing” button below.
- Click “Play with WebRTC” button that should automatically appear above to play the stream in a new tab.
How to create a streaming service like that?
Do you want to create a WebRTC streaming service or simply add streaming features with this quality into your existing products?
For developers: Re-use source code by clicking on “View Source on Github”. Make sure to check out our documentation, Youtube tutorials and Github discussions. Start your 30-day trial today!
For non-technical people: If you don’t know how to code, please use our AWS Streaming Wizard. This is our tool that we create a streaming service at scale for you. It means that your streaming service will be set up to automatically scales its infrastructure up in response to increased viewer demand, ensuring optimal performance during peak times. Conversely, it can scale down efficiently during periods of lower demand, allowing for cost savings.