Jump to main content
Video SDK v6.6.2 for Flutter
Index
  1. Home
  2. Video SDK for Flutter
  3. MediaPlayerController

    Controller for AgoraVideoView, used to render media player video.

  • Video SDK for Flutter
    • API Overview

      Agora provides a flexible combination of APIs deployed globally to deliver reliable real-time audio and video communication.

    • RtcEngine

      The base interface class of the RTC SDK that implements core real-time audio and video features.

    • RtcEngineEx

      Interface class that provides multi-channel methods.

    • RtcEngineEventHandler

      The RtcEngineEventHandler interface class is used by the SDK to send event notifications to the app. The app receives SDK event notifications by inheriting the methods of this interface class.

    • MediaPlayer

      Class that provides media player functionality and supports multiple instances.

    • MediaPlayerCacheManager

      This class provides methods for managing cached media files in the media player.

    • MediaPlayerSourceObserver

      Provides callbacks for the media player.

    • AudioEncodedFrameObserver

      Observer for encoded audio.

    • AudioFrameObserver

      Audio observer.

    • AudioFrameObserverBase

      Audio observer.

    • MediaPlayerVideoFrameObserver

      Video data observer for the media player.

    • VideoEncodedFrameObserver

      Class used to receive encoded video frames.

    • VideoFrameObserver

      Video observer.

    • AudioSpectrumObserver

      Audio spectrum observer.

    • MetadataObserver

      Metadata observer.

    • AudioDeviceManager

      Methods for managing audio devices.

    • VideoDeviceManager

      Methods for managing video devices.

    • MediaEngine

      MediaEngine class.

    • DirectCdnStreamingEventHandler

      DirectCdnStreamingEventHandler interface class is used by the SDK to send CDN streaming event notifications to the app. The app receives SDK event notifications by inheriting methods of this interface.

    • BaseSpatialAudioEngine

      This class contains some APIs from the LocalSpatialAudioEngine class.

    • LocalSpatialAudioEngine

      This class calculates user coordinates through the SDK to implement spatial audio.

    • RtcEngineExt

      Derived interface class of RtcEngine.

    • MediaPlayerController

      Controller for AgoraVideoView, used to render media player video.

MediaPlayerController

Controller for AgoraVideoView, used to render media player video.

initialize

Creates a MediaPlayerController.

Future<void> initialize();
Generated by <oXygen/> XML WebHelp