Skip to content

1.1.4

Latest

Choose a tag to compare

@WengYuehTing WengYuehTing released this 15 Nov 19:52

What's New

  • Discover and select cameras and microphones for local camera streams, including supported external devices.
  • Rotate the camera feed in 90° increments while keeping the configured output dimensions.
  • Camera capture now uses Android Camera2 directly, independently of Agora.

API Changes

  • List available inputs with MediaDevices.listCameraDevices(context) and MediaDevices.listMicrophoneDevices(context), then select them in createLocalCameraStream().
  • Change inputs with switchCamera(deviceId) and switchMicrophone(deviceId) while generation is inactive.
  • Replace switchCamera() with toggleCamera() to flip between built-in front and rear cameras.
  • Set rotation when creating a camera stream or update it with setCameraRotation(rotation).