<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 18.0.0 -",
    "visionOS: 2.0.0 -",
    "watchOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVMetricHLSMediaSegmentRequestEvent",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVMetricHLSMediaSegmentRequestEvent"
  },
  "title" : "AVMetricHLSMediaSegmentRequestEvent"
}
-->

# AVMetricHLSMediaSegmentRequestEvent

An event that represents a live streaming media segment resource request.

```
class AVMetricHLSMediaSegmentRequestEvent
```

## Topics

### Inspecting the event

[`byteRange`](/documentation/AVFoundation/AVMetricHLSMediaSegmentRequestEvent/byteRange)

[`indexFileURL`](/documentation/AVFoundation/AVMetricHLSMediaSegmentRequestEvent/indexFileURL)

[`isMapSegment`](/documentation/AVFoundation/AVMetricHLSMediaSegmentRequestEvent/isMapSegment)

[`mediaResourceRequestEvent`](/documentation/AVFoundation/AVMetricHLSMediaSegmentRequestEvent/mediaResourceRequestEvent)

[`mediaType`](/documentation/AVFoundation/AVMetricHLSMediaSegmentRequestEvent/mediaType)

[`segmentDuration`](/documentation/AVFoundation/AVMetricHLSMediaSegmentRequestEvent/segmentDuration)

Returns the duration of segment in seconds.

[`url`](/documentation/AVFoundation/AVMetricHLSMediaSegmentRequestEvent/url)



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)