You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).