MediaReplaySourceFactory

@objc(GSMediaReplaySourceFactory)
public class MediaReplaySourceFactory : NSObject

Media replay source factory.

  • Creates a source for streaming a media resource.

    Declaration

    Swift

    @objc(videoTrackOf:track:)
    public static func videoTrackOf(resource: MediaItem.Resource, track: MediaItem.Track) -> MediaReplaySource

    Parameters

    resource

    media resource to stream

    track

    stream track identifier

    Return Value

    media replay source