Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration LOCAL_VIDEO_STREAM_STATE

Local video state types

Index

Enumeration members

LOCAL_VIDEO_STREAM_STATE_CAPTURING

LOCAL_VIDEO_STREAM_STATE_CAPTURING: = 1

1: The local video capturing device starts successfully.

The SDK also reports this state when you share a maximized window by calling [startScreenCaptureByWindowId]{@link agora.startScreenCaptureByWindowId}.

LOCAL_VIDEO_STREAM_STATE_ENCODING

LOCAL_VIDEO_STREAM_STATE_ENCODING: = 2

2: The first video frame is successfully encoded.

LOCAL_VIDEO_STREAM_STATE_FAILED

LOCAL_VIDEO_STREAM_STATE_FAILED: = 3

3: The local video fails to start.

LOCAL_VIDEO_STREAM_STATE_STOPPED

LOCAL_VIDEO_STREAM_STATE_STOPPED: = 0

0: Initial state

Generated using TypeDoc