IMAAVPlayerVideoDisplayDelegate

@protocol IMAAVPlayerVideoDisplayDelegate <NSObject>

A callback protocol for IMAAVPlayerVideoDisplayDelegate.

  • Called when the IMAAVPlayerVideoDisplay will load a stream for playback. Allows the publisher to register the AVURLAsset for Fairplay content protection before playback starts.

    Declaration

    Swift

    optional func avPlayerVideoDisplay(_ avPlayerVideoDisplay: IMAAVPlayerVideoDisplay!, willLoadStreamAsset avUrlAsset: AVURLAsset!)

    Objective-C

    - (void)avPlayerVideoDisplay:(IMAAVPlayerVideoDisplay *)avPlayerVideoDisplay
             willLoadStreamAsset:(AVURLAsset *)avUrlAsset;

    Parameters

    avPlayerVideoDisplay

    the IMAVPlayerVideoDisplay that will load the AVURLAsset.

    avUrlAsset

    the AVURLAsset representing the stream to be loaded.