Jump to content
  • 0

RE: Ant Media HLS and Cloudfront Issue?


Ray Jender
 Share

Question

Cancel.   I had to clear cookies.

 

 

Ray

 

 

From: ant-media-server@googlegroups.com [mailto:ant-media-server@googlegroups.com] On Behalf Of Ray Jender

Sent: Friday, April 10, 2020 3:37 PM

To: Ant Media Server <ant-media-server@googlegroups.com>

Subject: Ant Media HLS and Cloudfront Issue?

 

 

 

So, I can live stream and view HLS just fine, however when I make a change in my html used to view the HLS, it does not propagate to CDN, even when I refresh!   For instance I simple added an <H1> tag into the play.html.   But when I access it, the old version of play.html is displayed?

 

Any idea how to either fix this or further troubleshoot?  I am basically new to Amazon Cloudfront.

 

Thanks and appreciate your responses.

 

Ray

 

--

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/ebc84403-1715-49a4-9c85-13c3c880b44e%40googlegroups.com.

 

Link to comment
Share on other sites

  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

1 answer to this question

Recommended Posts

  • 0

My problem was I kept the play.html file name the same.  Now every time I make a change I change the filename as play1.html,  play2.html etc and cloudfront reads the new version.   Thanks.

 

 

From: ant-media-server@googlegroups.com [mailto:ant-media-server@googlegroups.com] On Behalf Of Paul

Sent: Friday, April 10, 2020 4:53 PM

To: Ant Media Server <ant-media-server@googlegroups.com>

Subject: Re: Ant Media HLS and Cloudfront Issue?

 

 

No idea how to clear cache on Amazon, but quick work around I'd guess is to change the file name.. or add a querystring 

 

 

?v=2

 

for example.

 

Details here on invalidating the file cache: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html#invalidating-objects-api

 

 

 

 

 

On Friday, 10 April 2020 21:35:56 UTC+1, Ray Jender wrote:

 

I take that back.   I am still seeing an old version of play.html after clearing cache and cookies.   It is a version just prior to when I made a change!

 

 

I have no idea WTF is going on!   Frustrating!

 

 

Ray

 

On Friday, April 10, 2020 at 3:37:15 PM UTC-4, Ray Jender wrote:

 

 

So, I can live stream and view HLS just fine, however when I make a change in my html used to view the HLS, it does not propagate to CDN, even when I refresh!   For instance I simple added an <H1> tag into the play.html.   But when I access it, the old version of play.html is displayed?

 

Any idea how to either fix this or further troubleshoot?  I am basically new to Amazon Cloudfront.

 

Thanks and appreciate your responses.

 

Ray

 

--

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/c55e4727-5f7e-4d55-bf84-10fabac9a01f%40googlegroups.com.

 

Link to comment
Share on other sites

 Share

×
×
  • Create New...