Interface MediaConnectionExperimental

All Superinterfaces:
AutoCloseable, Closeable, MediaConnection
All Known Implementing Classes:
MediaConnectionImpl

public interface MediaConnectionExperimental extends MediaConnection
  • Method Details

    • getVideoSender

      @Nullable VideoFrameProvider getVideoSender()
    • setVideoSender

      void setVideoSender(@Nullable VideoFrameProvider sender)
    • setVideoCodec

      void setVideoCodec(@Nullable CodecInstance videoCodec)
      Sets the video codec instance for this connection.
      Parameters:
      videoCodec - the codec instance to use, or null to disable video
    • setVideoCodec

      default void setVideoCodec(@NotNull CodecInfo info)
      Sets the video codec using a codec info (convenience method). Creates a codec instance with default payload types.
      Parameters:
      info - the codec info to use
    • startVideoFramePolling

      void startVideoFramePolling()
      Starts polling video frames. Called automatically after connecting if codec has been set.
    • stopVideoFramePolling

      void stopVideoFramePolling()
      Stops polling video frames.
      See Also: