Interface Mixer

All Superinterfaces:
Hub, KurentoObject, MediaObject

public interface Mixer extends Hub
A Hub that allows routing of video between arbitrary port pairs and mixing of audio among several ports
  • Method Details

    • connect

      void connect(MediaType media, HubPort source, HubPort sink)
      Connects each corresponding MediaType of the given source port with the sink port.
      Parameters:
      media - The sort of media stream to be connected
      source - Source port to be connected
      sink - Sink port to be connected
    • connect

      void connect(MediaType media, HubPort source, HubPort sink, Continuation<Void> cont)
      Asynchronous version of connect: Continuation.onSuccess(F) is called when the action is done. If an error occurs, Continuation.onError(Throwable) is called.
      Parameters:
      media - The sort of media stream to be connected
      source - Source port to be connected
      sink - Sink port to be connected
      See Also:
    • connect

      void connect(Transaction tx, MediaType media, HubPort source, HubPort sink)
      Connects each corresponding MediaType of the given source port with the sink port.
      Parameters:
      media - The sort of media stream to be connected
      source - Source port to be connected
      sink - Sink port to be connected
    • disconnect

      void disconnect(MediaType media, HubPort source, HubPort sink)
      Disonnects each corresponding MediaType of the given source port from the sink port.
      Parameters:
      media - The sort of media stream to be disconnected
      source - Audio source port to be disconnected
      sink - Audio sink port to be disconnected
    • disconnect

      void disconnect(MediaType media, HubPort source, HubPort sink, Continuation<Void> cont)
      Asynchronous version of disconnect: Continuation.onSuccess(F) is called when the action is done. If an error occurs, Continuation.onError(Throwable) is called.
      Parameters:
      media - The sort of media stream to be disconnected
      source - Audio source port to be disconnected
      sink - Audio sink port to be disconnected
      See Also:
    • disconnect

      void disconnect(Transaction tx, MediaType media, HubPort source, HubPort sink)
      Disonnects each corresponding MediaType of the given source port from the sink port.
      Parameters:
      media - The sort of media stream to be disconnected
      source - Audio source port to be disconnected
      sink - Audio sink port to be disconnected