@theoplayer/extended 10.13.0 → 11.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4549,6 +4549,15 @@ interface TextTrack extends Track, EventDispatcher<TextTrackEventMap> {
4549
4549
  * <br/> - For HLS: the corresponding #EXT-X-MEDIA tag contains the attributes TYPE=SUBTITLES and FORCED=YES (not supported yet)
4550
4550
  */
4551
4551
  readonly forced: boolean;
4552
+ /**
4553
+ * The closed caption service number of the text track.
4554
+ *
4555
+ * @remarks
4556
+ * <br/> - For CEA-608 caption tracks, this holds the channel number.
4557
+ * <br/> - For CEA-708 caption tracks, this holds the service number.
4558
+ * <br/> - Otherwise, this is `undefined`.
4559
+ */
4560
+ readonly captionChannel?: number;
4552
4561
  /**
4553
4562
  * {@inheritDoc EventDispatcher.addEventListener}
4554
4563
  */
@@ -8801,6 +8810,15 @@ interface CustomTextTrackOptions {
8801
8810
  * The language of the text track.
8802
8811
  */
8803
8812
  language?: string;
8813
+ /**
8814
+ * The closed caption service number of the text track.
8815
+ *
8816
+ * @remarks
8817
+ * <br/> - This should only be used when {@link kind} is 'captions'.
8818
+ *
8819
+ * @see {@link TextTrack.captionChannel}
8820
+ */
8821
+ captionChannel?: number;
8804
8822
  }
8805
8823
  /**
8806
8824
  * The supported cue types for custom text tracks.
@@ -10504,10 +10522,6 @@ interface TheoLiveApi extends EventDispatcher<TheoLiveApiEventMap> {
10504
10522
  * Get or set the auth token that will be used when requesting a manifest or segment.
10505
10523
  */
10506
10524
  authToken: string | undefined;
10507
- /**
10508
- * @deprecated This will be removed in a future version.
10509
- */
10510
- preloadPublications(publicationIds: string[]): Promise<TheoLivePublication[]>;
10511
10525
  }
10512
10526
  /**
10513
10527
  * A THEOlive endpoint.