- Newest
- Most votes
- Most comments
Is your encoder on premises sending the DASH encoded stream to the S3 bucket? Are you able to use services like MediaConnect and MediaLive? You can contribute to the cloud your 4K Live stream, encode the stream in ABR using MediaLive and send the ABR stream into two different regions. Allowing this way your CDN to request the content to the correct origin based on client device geographic location. Setup caching at the CDN since most CDN's have a layered caching approach at the region level before actually requesting content from the origin
I'm not a specialist in streaming, but if you have control of the player settings, you could try increasing the amount of data/time to buffer on the client side. Bandwidth shouldn't be a factor as such, but if the client only pulls a small amount of data at a time, it might not be able to keep up with the stream due to the relatively long response time pulling the next tiny chunk all the way across mainland US and the Atlantic.
Caching in CloudFront or another CDN should have a similar effect, albeit with a different mechanism. The CDN would buffer an appropriately large chunk of data from the S3 origin, and because the network round-trip times between the clients in US west and the nearby CDN node would be relatively short, the presumably small buffer on the client might be able to keep up, because the CDN node would probably buffer a larger amount of data and possibly the whole file, allowing the client to receive the next tiny block quickly.
Relevant content
- asked 4 years ago
- asked 2 months ago
- asked 5 years ago
- AWS OFFICIALUpdated 2 years ago

if you do not want to have buckets in two regions, another way is to reduce the segment/fragment size of your 4K renditions so the amount of date being transferred from the origin to the CDN and to the end device player is lower. This of course as benefits on the latency/buffering but it has drawbacks on the encoding efficiency/quality
Yes, the encoder is on premise sending to an S3 bucket and that's why I can't use MediaLive to encode the stream. I havn't considered MediaConnect yet, would this have an advantage compared to my current setup? With my question, I want to make sure that I am using the correct AWS setup with the correct settings (like caching) for my application. If yes, then I have to optimize the encoder settings like segment length or similar
Using your on-premises encoder you can contribute a high resolution/bitrate to the cloud using MediaConnect. From there you can use MediaLive to create your ABR ladders and send the HLS ABR to MediaPackage in two different regions (EU and US). In MediaPackage you can setup CMAF/DASH endpoints in two regions and distribute the content to your viewers in Germany and west US thru the CDN. The use of MediaPackage is needed because MediaLive currently does not output DASH outputs. For further information on creating DASH Endpoints, please see the following documentation: https://docs.aws.amazon.com/mediapackage/latest/userguide/endpoints-settings.html