@@ -29,7 +29,7 @@ import Foundation
2929/// #EXT-X-SESSION-DATA:<attribute-list>
3030///
3131/// RFC: https://datatracker.ietf.org/doc/html/rfc8216#section-4.3.4.4
32- public struct EXT_X_SESSION_DATA : Decodable {
32+ public struct EXT_X_SESSION_DATA : Decodable , Sendable {
3333 /// The value of DATA-ID is a quoted-string that identifies a particular data value. This attribute is REQUIRED.
3434 public let data_id : String
3535 /// VALUE is a quoted-string. It contains the data identified by DATA-ID. This attribute is REQUIRED.
@@ -45,7 +45,7 @@ public struct EXT_X_SESSION_DATA: Decodable {
4545/// #EXT-X-START:<attribute-list>
4646///
4747/// RFC: https://datatracker.ietf.org/doc/html/rfc8216#section-4.3.5.2
48- public struct EXT_X_START : Decodable {
48+ public struct EXT_X_START : Decodable , Sendable {
4949 /// The value of TIME-OFFSET is a signed-decimal-floating-point number of seconds. This attribute is REQUIRED.
5050 public let time_offset : Int
5151 /// The value is an enumerated-string; valid strings are YES and NO. This attribute is OPTIONAL.
@@ -57,7 +57,7 @@ public struct EXT_X_START: Decodable {
5757/// #EXT-X-MEDIA:<attribute-list>
5858///
5959/// RFC: https://datatracker.ietf.org/doc/html/rfc8216#section-4.3.4.1
60- public struct EXT_X_MEDIA : Decodable {
60+ public struct EXT_X_MEDIA : Decodable , Sendable {
6161 /// The value is an enumerated-string; valid strings are AUDIO, VIDEO, SUBTITLES, and CLOSED-CAPTIONS. This attribute is REQUIRED.
6262 public let type : String
6363 /// The value is a quoted-string that specifies the group to which the Rendition belongs. This attribute is REQUIRED.
@@ -89,7 +89,7 @@ public struct EXT_X_MEDIA: Decodable {
8989/// RESOLUTION=<width>x<height>
9090///
9191/// RFC: https://datatracker.ietf.org/doc/html/rfc8216#section-4.3.4.2
92- public struct RESOLUTION : Decodable {
92+ public struct RESOLUTION : Decodable , Sendable {
9393 /// Width of a video.
9494 public let width : Int
9595 /// Height of a video.
@@ -101,7 +101,7 @@ public struct RESOLUTION: Decodable {
101101/// #EXT-X-STREAM-INF:<attribute-list>
102102///
103103/// RFC: https://datatracker.ietf.org/doc/html/rfc8216#section-4.3.4.2
104- public struct EXT_X_STREAM_INF : Decodable {
104+ public struct EXT_X_STREAM_INF : Decodable , Sendable {
105105 /// The value is a decimal-integer of bits per second. This attribute is REQUIRED.
106106 public let bandwidth : Int
107107 /// The value is a decimal-integer of bits per second. This attribute is OPTIONAL.
@@ -129,7 +129,7 @@ public struct EXT_X_STREAM_INF: Decodable {
129129/// #EXT-X-I-FRAME-STREAM-INF:<attribute-list>
130130///
131131/// RFC: https://datatracker.ietf.org/doc/html/rfc8216#section-4.3.4.3
132- public struct EXT_X_I_FRAME_STREAM_INF : Decodable {
132+ public struct EXT_X_I_FRAME_STREAM_INF : Decodable , Sendable {
133133 /// The value is a decimal-integer of bits per second. This attribute is REQUIRED.
134134 public let bandwidth : Int
135135 /// The value is a decimal-integer of bits per second. This attribute is OPTIONAL.
@@ -147,7 +147,7 @@ public struct EXT_X_I_FRAME_STREAM_INF: Decodable {
147147}
148148
149149/// Specifies a Variant Stream by `#EXT-X-STREAM-INF` tag followed by a `<URI>`.
150- public struct VariantStream : Decodable {
150+ public struct VariantStream : Decodable , Sendable {
151151 /// Specifies a Variant Stream, which is a set of Renditions that can be combined to play the presentation.
152152 public let ext_x_stream_inf : EXT_X_STREAM_INF
153153 /// Specifies a Media Playlist that carries a Rendition of the Variant Stream.
0 commit comments