Load time of a MediaPackage livestream

0

Hello,

We experience very slow loading for ".m3u8" endpoints generated in MediaPackage. It can take up to a minute to show the livestream. Is there a way to improve the player loading time even by adding some delay of some sort?

We use Apple HLS with default configuration:

{
  "Id": "endpoint-camera-4",
  "ChannelId": "output-camera-4",
  "Description": "",
  "StartoverWindowSeconds": 0,
  "TimeDelaySeconds": 0,
  "ManifestName": "index",
  "White...list": [],
  "HlsPackage": {
    "SegmentDurationSeconds": 6,
    "PlaylistWindowSeconds": 60,
    "PlaylistType": "EVENT",
    "AdMarkers": "NONE",
    "AdTriggers": [
      "SPLICE_INSERT",
      "PROVIDER_ADVERTISEMENT",
      "DISTRIBUTOR_ADVERTISEMENT",
      "PROVIDER_PLACEMENT_OPPORTUNITY",
      "DISTRIBUTOR_PLACEMENT_OPPORTUNITY"
    ],
    "AdsOnDeliveryRestrictions": "RESTRICTED",
    "ProgramDateTimeIntervalSeconds": 0,
    "IncludeIframeOnlyStream": false,
    "UseAudioRenditionGroup": false,
    "IncludeDvbSubtitles": false,
    "StreamSelection": {
      "StreamOrder": "ORIGINAL"
    }
  },
  "Origination": "ALLOW"
}
REKAP
已提問 2 年前檢視次數 289 次
2 個答案
1

What is the source that is providing the input HLS stream to AWS MediaPackage? Is it AWS MediaLive or some other encoder? MediaLive (perhaps other encoders as well) may take time to start the encoding channel that provides the HLS segments to MediaPackage. Please verify that the encoding source channel is running before checking MediaPackage endpoints.

Also, please note that MediaPackage endpoints should not be used to provide HLS streams to public viewers directly. A CDN, such as CloudFront, should be used to deliver HLS content from MediaPackage endpoints.

AWS
Mike-ME
已回答 2 年前
  • Yes we use AWS MediaLive as the input source. I will check on creating a custom CloudFront to deliver the streaming output. Thanks!

0

Depending on the player used, players usually have to cache 3 segments before starting to play the live stream. Try to reduce the segment size to reduce the amount of time the player is downloading segments before starting to play the live stream.

AWS
Nuno_Q
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南