Skip to content

Commit

Permalink
Merge pull request #268 from ant-media/md/update-srt
Browse files Browse the repository at this point in the history
Md/update srt
  • Loading branch information
yashtandon113 committed May 13, 2024
2 parents ecb887c + 64fd8ae commit 690db1c
Show file tree
Hide file tree
Showing 29 changed files with 93 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: AWS Wavelength Cluster Deployment
description: AWS Wavelength Cluster Deployment
keywords: [AWS Wavelength Cluster Deployment, Ant Media Server Documentation, Ant Media Server Tutorials]
sidebar_position: 7
sidebar_position: 8
---

# AWS Wavelength Cluster Deployment
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Enable IP filter behind AWS load balancer
description: Enabling IP filtering behind a load balancer in AWS
keywords: [Load Balancer, Ant Media Server Documentation, Ant Media Server Tutorials]
sidebar_position: 6
sidebar_position: 7
---

# Enabling IP filtering behind a load balancer in AWS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Run Ant Media Server (Enterprise Edition) container on ECS in cluster mode
description: Run Ant Media Server (Enterprise Edition) container on ECS in cluster mode
keywords: [ECS in cluster mode, Ant Media Server Documentation, Ant Media Server Tutorials]
sidebar_position: 8
sidebar_position: 9
---

# Run Ant Media Server (Enterprise Edition) container on ECS in cluster mode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Scale AMS with AWS ECS Fargate
description: Scale AMS with AWS ECS Fargate
keywords: [Scale AMS with AWS ECS Fargate, Ant Media Server Documentation, Ant Media Server Tutorials]
sidebar_position: 9
sidebar_position: 10
---

# Scale AMS with AWS ECS Fargate
Expand Down
14 changes: 14 additions & 0 deletions docs/guides/publish-live-stream/srt/srt.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,20 @@ If the publish type token is enabled, the SRT publishing URL will be in the foll
```
srt://ant.media.server.address:4200?streamid=Application-Name/streamId,token=tokenId
```

### Publishing SRT stream with OBS Without streamId

```js
Starting from version 2.8.0 and above, Ant Media Server supports SRT publish without streamId
```

![](@site/static/img/publish-live-stream/srt/srt-obs.png)

- In such case, the system IP address is used as the streamId and it is published to the LiveApp application by default.

![](@site/static/img/publish-live-stream/srt/srt-stream.png)


## Play SRT with Ant Media Server

Once the SRT stream has been published, it can be viewed using WebRTC, HLS, or CMAF (Dash). Please see the document [here](https://antmedia.io/docs/category/playing-live-streams/) for more information.
Expand Down
79 changes: 75 additions & 4 deletions docs/guides/publish-live-stream/srt/wirecast.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,78 @@ sidebar_position: 3

# SRT Ingest using Wirecast

Unfortunatelly streamid parameter doesn't support by Wirecast. Please check these links for more detail:
https://telestreamforum.forumbee.com/t/35hpl27/wire-18259-any-updates
https://telestreamforum.forumbee.com/t/m1hmr17/14-1-srt-output
https://telestreamforum.forumbee.com/t/60hfs0h/srt-streamid
Wirecast is a live video streaming production tool by Telestream. It allows users to create live or on-demand broadcasts for the web. Wirecast supports various sources for capturing such as webcams, IP cameras, NDIs and capture cards.

- Some encoders like **Wirecast do not have support for streamId**.
- There are also many IP cameras that support SRT Output but does not support streamId.

- Starting from **version 2.8.0, Ant Media Server supports SRT without streamId**.
- In this scenario, the enocder/camera IP address will behave like streamId and it will be published to the **LiveApp** application by default.

## Create a Stream With Wirecast

To create a stream with Wirecast, it is first needed to add a source.

- Move your cursor to the **Clear Layer** and Click on the **+ icon** to add a source.

![](@site/static/img/publish-live-stream/srt/add-scene.png)

- You can choose the source type based on your use case. For this demonstration, I'm adding a VoD as **Media File**.

**Media File >> Browse Disk >> Add**

![](@site/static/img/publish-live-stream/srt/add-media.png)

- Navigate to **Output >> Output Settings** from the Menu bar.

![](@site/static/img/publish-live-stream/srt/output-settings.png)

- Under **Destination**, choose **SRT** and proceed.

![](@site/static/img/publish-live-stream/srt/destination-srt.png)

- Enter your Ant Media Server URL under **Address** in the format ```srt://server-url/``` and **Port** 4200

![](@site/static/img/publish-live-stream/srt/server-url.png)

### Customizing the Stream Parameters

If you want to change any parameters like stream resolution, bitrate, profile type, etc. you can do so my changing the **Encoding Settings**.

- Click on the Gear icon next to Encoding and go to **View Details**.

![](@site/static/img/publish-live-stream/srt/encoding-settings.png)

- You can set the Video and Audio Encoding paramters as you may need.

![](@site/static/img/publish-live-stream/srt/settings.png)

```js
It's important to set the Profile type Baseline for WebRTC play.
```
## Starting the SRT Stream
Now that, everything is set, let's procced to push the SRT stream.

- Click on the **right arrow icon** to select the source of the video and it will be reflected in the Live Broadcast Area.

![](@site/static/img/publish-live-stream/srt/select-source.png)

- Go to the **Output >> Start/Stop Broadcasting >> Start SRT** to start pushing the SRT stream to your Ant Media Server.

![](@site/static/img/publish-live-stream/srt/start-stop.png)

- Navigate to LiveApp application of your Ant Media Server Management Panel and you can see the SRT stream.

- Your system IP Address is used as the streamId.

![](@site/static/img/publish-live-stream/srt/srt-stream.png)

- Congratulations, your SRT stream is live.

## Playing The Stream

- Ant Media Server supports various play protocols like WebRTC, CMAF (Dash), and HLS.

- To learn how to play a stream, check the [Playing Live Streams](https://antmedia.io/docs/category/playing-live-streams/) guide.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/aws-global-cluster/accept-peering.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/aws-global-cluster/mongo-security.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/aws-global-cluster/spain-routing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/aws-global-cluster/tcp-listners.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/aws-global-cluster/user-data.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/publish-live-stream/srt/add-media.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/publish-live-stream/srt/add-scene.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/publish-live-stream/srt/settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/publish-live-stream/srt/srt-obs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/publish-live-stream/srt/srt-stream.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/publish-live-stream/srt/start-stop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 690db1c

Please sign in to comment.