Interface MediaDevices

All Superinterfaces:
Advisable<MediaCallback>, EngineService

public interface MediaDevices extends EngineService, Advisable<MediaCallback>
An engine service that allows accessing all the available media input devices.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns an immutable list of the details about all the available media input devices of the given type or an empty collection if there are no devices of the given type.

    Methods inherited from interface com.teamdev.jxbrowser.callback.Advisable

    get, remove, set

    Methods inherited from interface com.teamdev.jxbrowser.engine.EngineService

    engine
  • Method Details

    • list

      Returns an immutable list of the details about all the available media input devices of the given type or an empty collection if there are no devices of the given type.

      The list of devices is equal to the list you can see after navigating to the WebRTC input-output sample.

      Parameters:
      type - a media input device type
      Throws:
      ObjectClosedException - when the engine is closed