Jump to content
  • 0

Zoom RTMP adaptive streaming recommendations?


Doni
 Share

Question

Hi,

I need to set up an AMS which will be used for publishing a live event from Zoom via RTMP and served as HLS behind CloudFront using the player. Anyone know optimal adaptive streaming settings for that? Not quite sure how to determine that.

Thanks, Doni
Link to comment
Share on other sites

  • Answers 11
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Posted Images

11 answers to this question

Recommended Posts

  • 0
Hi Doni,
Hope you are doing well.
Ant Media Server supports adaptive streaming in both WebRTC and HLS formats.
There is a slight difference between WebRTC and HLS adaptive streaming. In WebRTC, Ant Media Server measures the player's bandwidth and selects the optimum quality according to the player's bandwidth. On the contrary, in HLS, player measures its bandwidth and fetches the optimum quality from the server.

In AMS, the default ABR settings are good to be used and you can modify it as well. You can refer to the ABR ladder in the attachement.
​--
Best Regards,
Mohit Dubey



 
Star Ant Media Server on GitHub and get a chance to win an AMS Annual Enterprise Edition License.


On Wed, 4 Aug at 6:23 PM , Katz, Doni (US) <doni.katz@thedeal.com> wrote:
Hi,

I need to set up an AMS which will be used for publishing a live event from Zoom via RTMP and served as HLS behind CloudFront using the player. Anyone know optimal adaptive streaming settings for that? Not quite sure how to determine that.

Thanks, Doni
--
You received this message because you are subscribed to the Google Groups "Ant Media Server" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ant-media-server+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ant-media-server/191f4527-3be5-4f50-8a04-80c96afaaae9n%40googlegroups.com.
45264:1264838


1149011481_ABRLadder.thumb.png.04c0908732055f4832ce19aedc929df1.png

Link to comment
Share on other sites

  • 0

Thanks, but I'm still unclear what are the optimal settings for Zoom as source and in what use cases specifying all the various ladder options are helpful vs sticking with the default adaptive setting. Do people tend to set them all? (In the hosted media services I've used in the past, by default it included several adaptive versions, so we didn't need to mess with it.)

Incidentally, I notice when saving to MP4, it saves all versions. Is there a way to have it just save the highest quality? Otherwise it's a real mess.

Thanks, Doni

 

Link to comment
Share on other sites

  • 0
Hi Doni,
The choice of ABR entirely depends on the user and is set to cater to the internet bandwidth of the end user. The most used resolutions are 360p, 420p, 720p and 1080p.

Incidentally, I notice when saving to MP4, it saves all versions. Is there a way to have it just save the highest quality? Otherwise it's a real mess. 

--
Best Regards,
Mohit Dubey
 
Star Ant Media Server on GitHub and get a chance to win an AMS Annual Enterprise Edition License.


On Wed, 4 Aug at 11:15 PM , Katz, Doni (US) <doni.katz@thedeal.com> wrote:
Thanks, but I'm still unclear what are the optimal settings for Zoom as source and in what use cases specifying all the various ladder options are helpful vs sticking with the default adaptive setting. Do people tend to set them all? (In the hosted media services I've used in the past, by default it included several adaptive versions, so we didn't need to mess with it.)

Incidentally, I notice when saving to MP4, it saves all versions. Is there a way to have it just save the highest quality? Otherwise it's a real mess.

Thanks, Doni

On Wednesday, August 4, 2021 at 12:24:00 PM UTC-7 support wrote:
Hi Doni,
Hope you are doing well.
Ant Media Server supports adaptive streaming in both WebRTC and HLS formats.
There is a slight difference between WebRTC and HLS adaptive streaming. In WebRTC, Ant Media Server measures the player's bandwidth and selects the optimum quality according to the player's bandwidth. On the contrary, in HLS, player measures its bandwidth and fetches the optimum quality from the server.

In AMS, the default ABR settings are good to be used and you can modify it as well. You can refer to the ABR ladder in the attachement.
​--
Best Regards,
Mohit Dubey



 
Star Ant Media Server on GitHub and get a chance to win an AMS Annual Enterprise Edition License.


On Wed, 4 Aug at 6:23 PM

Hi,

I need to set up an AMS which will be used for publishing a live event from Zoom via RTMP and served as HLS behind CloudFront using the player. Anyone know optimal adaptive streaming settings for that? Not quite sure how to determine that.

Thanks, Doni

--

You received this message because you are subscribed to the Google Groups "Ant Media Server" group.

To unsubscribe from this group and stop receiving emails from it, send an email to ant-media-serv...@googlegroups.com.

To view this discussion on the web visit
.

--
You received this message because you are subscribed to the Google Groups "Ant Media Server" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ant-media-server+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ant-media-server/befc3787-afc5-46aa-8f7f-5b92fcb27095n%40googlegroups.com.
45264:1264838
Link to comment
Share on other sites

  • 0

Thanks. Re adaptive resolution file cleanup script, how would I go about that if I'm saving to S3, not locally? How would I script to delete from AMS so it deletes from S3 too? (Right now S3 deletion isn't working from AMS, an open github issue, but let's assume it is working.)

Thanks, Doni

 

Link to comment
Share on other sites

  • 0
Hi Doni,
You can refer the user defined scripts from https://github.com/ant-media/Ant-Media-Server/wiki/User-defined-Scripts
I think the issue you are talking about on the GitHub was created by me and it talks about the issue with community edition. I have checked on the enterprise edition and deleting the VOD from dashboard deletes it from the S3 bucket. (P.S. Followed the exact security settings recommended on the wiki document).
If you can describe the reproduce scenario, maybe we can try on that.
--
Best Regards,
Mohit Dubey 
 
Star Ant Media Server on GitHub and get a chance to win an AMS Annual Enterprise Edition License.


On Thu, 5 Aug at 3:32 PM , Katz, Doni (US) <doni.katz@thedeal.com> wrote:
Thanks. Re adaptive resolution file cleanup script, how would I go about that if I'm saving to S3, not locally? How would I script to delete from AMS so it deletes from S3 too? (Right now S3 deletion isn't working from AMS, an open github issue, but let's assume it is working.)

Thanks, Doni

On Thursday, August 5, 2021 at 5:17:24 AM UTC-7 support wrote:
Hi Doni,
The choice of ABR entirely depends on the user and is set to cater to the internet bandwidth of the end user. The most used resolutions are 360p, 420p, 720p and 1080p.

Incidentally, I notice when saving to MP4, it saves all versions. Is there a way to have it just save the highest quality? Otherwise it's a real mess. 

--
Best Regards,
Mohit Dubey
 
Star Ant Media Server on GitHub and get a chance to win an AMS Annual Enterprise Edition License.

On Wed, 4 Aug at 11:15 PM

, Katz, Doni (US) <doni...@thedeal.com> wrote:

On Wednesday, August 4, 2021 at 12:24:00 PM UTC-7 support wrote:

Hi Doni,
Hope you are doing well.
Ant Media Server supports adaptive streaming in both WebRTC and HLS formats.
There is a slight difference between WebRTC and HLS adaptive streaming. In WebRTC, Ant Media Server measures the player's bandwidth and selects the optimum quality according to the player's bandwidth. On the contrary, in HLS, player measures its bandwidth and fetches the optimum quality from the server.

In AMS, the default ABR settings are good to be used and you can modify it as well. You can refer to the ABR ladder in the attachement.
​--
Best Regards,
Mohit Dubey




 
Star 
 and get a chance to win an 
AMS Annual Enterprise Edition License
.


On Wed, 4 Aug at 6:23 PM

Hi,


I need to set up an AMS which will be used for publishing a live event from Zoom via RTMP and served as HLS behind CloudFront using the player. Anyone know optimal adaptive streaming settings for that? Not quite sure how to determine that.

Thanks, Doni

--

You received this message because you are subscribed to the Google Groups "Ant Media Server" group.

To unsubscribe from this group and stop receiving emails from it, send an email to
.

To view this discussion on the web visit
.

--

You received this message because you are subscribed to the Google Groups "Ant Media Server" group.

To unsubscribe from this group and stop receiving emails from it, send an email to ant-media-serv...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Ant Media Server" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ant-media-server+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ant-media-server/de02e719-81ce-4a0f-b5b9-1152d5bbc4cdn%40googlegroups.com.
45264:1264838
Link to comment
Share on other sites

  • 0

Thanks, Mohit. So you're suggesting a script that calls the API to delete the ones I don't want? Can you provide a sample script? (This really should be a feature option; I imagine many people would only want to save the original bitrate.)

In my Enterprise Edition 2.3.3.1 20210609_2033, deleting from the console does not delete from S3. Logs show the following pointing to the internal path: “File is not deleted because it does not exist /usr/local/antmedia/webapps/<myapp>/streams/<file>” and the S3 file remains. Whether or not HTTP forwarding is enabled.

 

Regards, Doni
Link to comment
Share on other sites

  • 0
Hi Doni,
Yes, I suggest creating bash script which has to detect resolution value and if doesn't have the highest resolution let's say 1080p prefix in mp4 file, script should delete this mp4 file.
Maybe we can create a feature request on GitHub for this. I have created the same https://github.com/ant-media/Ant-Media-Server/issues/3505

Also, the vod file is getting deleted from the S3 bucket when deleted from the dashboard in my environment. Can you please specify if you used any other permissions than those mentioned in the doc and if you only added S3 credentials on the dashboard and not in the code. An exact reproduce scenario will be easy to execute and act.
--
Best Regards,
Mohit Dubey 



 
Star Ant Media Server on GitHub and get a chance to win an AMS Annual Enterprise Edition License.


On Thu, 5 Aug at 11:54 PM , Katz, Doni (US) <doni.katz@thedeal.com> wrote:
Thanks, Mohit. So you're suggesting a script that calls the API to delete the ones I don't want? Can you provide a sample script? (This really should be a feature option; I imagine many people would only want to save the original bitrate.)

In my Enterprise Edition 2.3.3.1 20210609_2033, deleting from the console does not delete from S3. Logs show the following pointing to the internal path: “File is not deleted because it does not exist /usr/local/antmedia/webapps/<myapp>/streams/<file>” and the S3 file remains. Whether or not HTTP forwarding is enabled.

Regards, Doni
On Thursday, August 5, 2021 at 11:07:01 AM UTC-7 support wrote:
Hi Doni,
You can refer the user defined scripts from https://github.com/ant-media/Ant-Media-Server/wiki/User-defined-Scripts
I think the issue you are talking about on the GitHub was created by me and it talks about the issue with community edition. I have checked on the enterprise edition and deleting the VOD from dashboard deletes it from the S3 bucket. (P.S. Followed the exact security settings recommended on the wiki document).
If you can describe the reproduce scenario, maybe we can try on that.
--
Best Regards,
Mohit Dubey 
 
Star Ant Media Server on GitHub and get a chance to win an AMS Annual Enterprise Edition License.

On Thu, 5 Aug at 3:32 PM

, Katz, Doni (US) <doni...@thedeal.com> wrote:

On Thursday, August 5, 2021 at 5:17:24 AM UTC-7 support wrote:

Hi Doni,

The choice of ABR entirely depends on the user and is set to cater to the internet bandwidth of the end user. The most used resolutions are 360p, 420p, 720p and 1080p.

Incidentally, I notice when saving to MP4, it saves all versions. Is there a way to have it just save the highest quality? Otherwise it's a real mess.
 


--
Best Regards,
Mohit Dubey

 
Star 
 and get a chance to win an 
AMS Annual Enterprise Edition License
.

On Wed, 4 Aug at 11:15 PM

, Katz, Doni (US) <
> wrote:

On Wednesday, August 4, 2021 at 12:24:00 PM UTC-7 support wrote:

Hi Doni,
Hope you are doing well.
Ant Media Server supports adaptive streaming in both WebRTC and HLS formats.
There is a slight difference between WebRTC and HLS adaptive streaming. In WebRTC, Ant Media Server measures the player's bandwidth and selects the optimum quality according to the player's bandwidth. On the contrary, in HLS, player measures its bandwidth and fetches the optimum quality from the server.

In AMS, the default ABR settings are good to be used and you can modify it as well. You can refer to the ABR ladder in the attachement.
​--
Best Regards,
Mohit Dubey




 
Star 
 and get a chance to win an 
AMS Annual Enterprise Edition License
.


On Wed, 4 Aug at 6:23 PM

Hi,


I need to set up an AMS which will be used for publishing a live event from Zoom via RTMP and served as HLS behind CloudFront using the player. Anyone know optimal adaptive streaming settings for that? Not quite sure how to determine that.

Thanks, Doni

--

You received this message because you are subscribed to the Google Groups "Ant Media Server" group.

To unsubscribe from this group and stop receiving emails from it, send an email to
.

To view this discussion on the web visit
.

--

You received this message because you are subscribed to the Google Groups "Ant Media Server" group.

To unsubscribe from this group and stop receiving emails from it, send an email to
.

--
You received this message because you are subscribed to the Google Groups "Ant Media Server" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ant-media-serv...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Ant Media Server" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ant-media-server+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ant-media-server/3411ce35-9acb-4a7e-8d81-a873fd381e12n%40googlegroups.com.
45264:1264838
Link to comment
Share on other sites

  • 0

Hi Mohit,

I have the bucket permissions the same as the wiki and the IAM user with AmazonS3FullAccess policy (I normally have it more restricted, but I've matched it to the wiki for testing). I have S3 settings set identically in the console and also the xml file, because it seems to need both to work (I've tried removing it from one or the other and it stopped saving to S3). I had tried with just runtime role instead of IAM user, but that didn't work for me (I emailed support, but didn't hear back again), so I'm using the IAM user method per the wiki. I've tried with server-side bucket encryption on and off, same result. Right now I'm set up exactly like the wiki.

It saves files to S3 okay, but won't delete them, even though it definitely has delete permissions. And the logs imply it trying to delete local file, not S3: "WARN  io.antmedia.rest.RestServiceBase - File is not deleted because it does not exist /usr/local/antmedia/webapps/<appname>/streams/<filename>.mp4"

Thanks, Doni

 

Link to comment
Share on other sites

  • 0

One more thing: I created fresh apps to test, to make sure it wasn't some odd misconfig in my app. If I add S3 settings just in red5-web.xml as it says in the wiki, it doesn't save to S3. If I add S3 settings in the web console (or directly in red5-web.properties), saving to S3 works, but it doesn't delete from S3.

Thanks, Doni

 

Link to comment
Share on other sites

  • 0
Hi Doni,
Let's do it this way. Undo all the changes made in red5-web.xml and add the required settings only on the dashboard as per the wiki for S3 saving and don't enter endpoints on the dashboard and try to save and delete from the dashboard. If it doesn't reflects on the S3 bucket, please let me know and we can check that together.
--
Best Regards,
Mohit Dubey


 
Star Ant Media Server on GitHub and get a chance to win an AMS Annual Enterprise Edition License.


On Fri, 6 Aug at 6:44 PM , Katz, Doni (US) <doni.katz@thedeal.com> wrote:
One more thing: I created fresh apps to test, to make sure it wasn't some odd misconfig in my app. If I add S3 settings just in red5-web.xml as it says in the wiki, it doesn't save to S3. If I add S3 settings in the web console (or directly in red5-web.properties), saving to S3 works, but it doesn't delete from S3.

Thanks, Doni

On Friday, August 6, 2021 at 7:53:39 AM UTC-7 Doni wrote:
Hi Mohit,

I have the bucket permissions the same as the wiki and the IAM user with AmazonS3FullAccess policy (I normally have it more restricted, but I've matched it to the wiki for testing). I have S3 settings set identically in the console and also the xml file, because it seems to need both to work (I've tried removing it from one or the other and it stopped saving to S3). I had tried with just runtime role instead of IAM user, but that didn't work for me (I emailed support, but didn't hear back again), so I'm using the IAM user method per the wiki. I've tried with server-side bucket encryption on and off, same result. Right now I'm set up exactly like the wiki.

It saves files to S3 okay, but won't delete them, even though it definitely has delete permissions. And the logs imply it trying to delete local file, not S3: "WARN  io.antmedia.rest.RestServiceBase - File is not deleted because it does not exist /usr/local/antmedia/webapps/<appname>/streams/<filename>.mp4"

Thanks, Doni

--
You received this message because you are subscribed to the Google Groups "Ant Media Server" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ant-media-server+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ant-media-server/88140e50-4882-4903-8437-5a0cabcb87f7n%40googlegroups.com.
45264:1264838
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share


×
×
  • Create New...