Class Representation

    • Field Detail

      • revisionId

        public final long revisionId
        Deprecated.
        Identifies the revision of the media contained within the representation. If the media can change over time (e.g. as a result of it being re-encoded), then this identifier can be set to uniquely identify the revision of the media. The timestamp at which the media was encoded is often a suitable.
      • format

        public final Format format
        Deprecated.
        The format of the representation.
      • baseUrls

        public final ImmutableList<BaseUrl> baseUrls
        Deprecated.
        The base URLs of the representation.
      • presentationTimeOffsetUs

        public final long presentationTimeOffsetUs
        Deprecated.
        The offset of the presentation timestamps in the media stream relative to media time.
      • inbandEventStreams

        public final List<Descriptor> inbandEventStreams
        Deprecated.
        The in-band event streams in the representation. May be empty.
      • essentialProperties

        public final List<Descriptor> essentialProperties
        Deprecated.
        Essential properties in the representation. May be empty.
      • supplementalProperties

        public final List<Descriptor> supplementalProperties
        Deprecated.
        Supplemental properties in the adaptation set. May be empty.
    • Method Detail

      • newInstance

        public static Representation newInstance​(long revisionId,
                                                 Format format,
                                                 List<BaseUrl> baseUrls,
                                                 SegmentBase segmentBase)
        Deprecated.
        Constructs a new instance.
        Parameters:
        revisionId - Identifies the revision of the content.
        format - The format of the representation.
        baseUrls - The list of base URLs of the representation.
        segmentBase - A segment base element for the representation.
        Returns:
        The constructed instance.
      • newInstance

        public static Representation newInstance​(long revisionId,
                                                 Format format,
                                                 List<BaseUrl> baseUrls,
                                                 SegmentBase segmentBase,
                                                 @Nullable
                                                 List<Descriptor> inbandEventStreams,
                                                 List<Descriptor> essentialProperties,
                                                 List<Descriptor> supplementalProperties,
                                                 @Nullable
                                                 String cacheKey)
        Deprecated.
        Constructs a new instance.
        Parameters:
        revisionId - Identifies the revision of the content.
        format - The format of the representation.
        baseUrls - The list of base URLs of the representation.
        segmentBase - A segment base element for the representation.
        inbandEventStreams - The in-band event streams in the representation. May be null.
        essentialProperties - Essential properties in the representation. May be empty.
        supplementalProperties - Supplemental properties in the representation. May be empty.
        cacheKey - An optional key to be returned from getCacheKey(), or null. This parameter is ignored if segmentBase consists of multiple segments.
        Returns:
        The constructed instance.
      • getInitializationUri

        @Nullable
        public RangedUri getInitializationUri()
        Deprecated.
        Returns a RangedUri defining the location of the representation's initialization data, or null if no initialization data exists.
      • getIndexUri

        @Nullable
        public abstract RangedUri getIndexUri()
        Deprecated.
        Returns a RangedUri defining the location of the representation's segment index, or null if the representation provides an index directly.
      • getIndex

        @Nullable
        public abstract DashSegmentIndex getIndex()
        Deprecated.
        Returns an index if the representation provides one directly, or null otherwise.
      • getCacheKey

        @Nullable
        public abstract String getCacheKey()
        Deprecated.
        Returns a cache key for the representation if set, or null.