Class LiveVideoOrchestrator

java.lang.Object
com.brightcove.player.event.AbstractComponent
com.brightcove.ssai.live.LiveVideoOrchestrator
All Implemented Interfaces:
Component

@Emits(events={}) @ListensFor(events={"videoDurationChanged","stop"}) public class LiveVideoOrchestrator extends AbstractComponent
The Live video orchestrator class is responsible to setup the components and listeners needed for Live SSAI and update the Dynamic Timeline appropriately.
  • Constructor Details

    • LiveVideoOrchestrator

      public LiveVideoOrchestrator(@NonNull BaseVideoView baseVideoView, @NonNull Video video, @NonNull SSAICallback<android.util.Pair<SSAIWrapper,Timeline>> callback) throws Exception
      Instantiates a new Live video orchestrator.
      Parameters:
      baseVideoView - the base video view
      video - the video
      callback - the SSAI callback
      Throws:
      Exception - the exception thrown if there is a problem creating the Timeline
  • Method Details

    • addAdOverlayConfigListener

      public boolean addAdOverlayConfigListener(@NonNull AdOverlayConfigListener adOverlayConfigListener)
      Parameters:
      adOverlayConfigListener - the ad overlay config listener
      Returns:
      true if the listener was added
    • removeAdOverlayConfigListener

      public boolean removeAdOverlayConfigListener(@NonNull AdOverlayConfigListener adOverlayConfigListener)
      Parameters:
      adOverlayConfigListener - the ad overlay config listener
      Returns:
      true if the listener was removed
    • removeAllAdOverlayConfigListeners

      public void removeAllAdOverlayConfigListeners()
    • addTrackingConfigListener

      public boolean addTrackingConfigListener(@NonNull TrackingConfigListener trackingConfigListener)
      Parameters:
      trackingConfigListener - the tracking config listener
      Returns:
      true if the listener was added
    • removeTrackingConfigListener

      public boolean removeTrackingConfigListener(@NonNull TrackingConfigListener trackingConfigListener)
      Parameters:
      trackingConfigListener - the tracking config listener
      Returns:
      true if the listener was removed
    • removeAllTrackingConfigListeners

      public void removeAllTrackingConfigListeners()