Interface MediaValve

All Known Implementing Classes:
MediaValveImpl

@NonExtendable public interface MediaValve
  • Method Details

    • isDeafened

      boolean isDeafened()
      Whether we're deafened, i.e., we are not receiving audio from any user.
    • setDeafen

      void setDeafen(boolean deafen)
      Set whether to deafen ourselves.

      You must call sendToGateway() after calling this method to have any effect.

    • sendToGateway

      void sendToGateway()
      Send a Op.MEDIA_SINK_WANTS payload to the gateway.
    • handleEvent

      void handleEvent(JsonObject obj)
      Handle a voice gateway message.
    • removeUser

      void removeUser(String userId)