Interface SsChunkSource.Factory

    • Method Detail

      • createChunkSource

        SsChunkSource createChunkSource​(LoaderErrorThrower manifestLoaderErrorThrower,
                                        SsManifest manifest,
                                        int streamElementIndex,
                                        ExoTrackSelection trackSelection,
                                        @Nullable
                                        TransferListener transferListener,
                                        @Nullable
                                        CmcdConfiguration cmcdConfiguration)
        Creates a new SsChunkSource.
        Parameters:
        manifestLoaderErrorThrower - Throws errors affecting loading of manifests.
        manifest - The initial manifest.
        streamElementIndex - The index of the corresponding stream element in the manifest.
        trackSelection - The track selection.
        transferListener - The transfer listener which should be informed of any data transfers. May be null if no listener is available.
        cmcdConfiguration - The CmcdConfiguration for this chunk source.
        Returns:
        The created SsChunkSource.