@@ -207,11 +207,24 @@ public static abstract class VideoCall {
207207 public static final int SESSION_EVENT_TX_START = 3 ;
208208
209209 /**
210- * Video transmission has stopped. This occur after a negotiated stop of video transmission when
211- * the underlying protocol has actually stopped transmitting video to the remote party.
210+ * Video transmission has stopped. This occurs after a negotiated stop of video transmission
211+ * when the underlying protocol has actually stopped transmitting video to the remote party.
212212 */
213213 public static final int SESSION_EVENT_TX_STOP = 4 ;
214214
215+ /**
216+ * A camera failure has occurred for the selected camera. The In-Call UI can use this as a
217+ * cue to inform the user the camera is not available.
218+ */
219+ public static final int SESSION_EVENT_CAMERA_FAILURE = 5 ;
220+
221+ /**
222+ * Issued after {@code SESSION_EVENT_CAMERA_FAILURE} when the camera is once again ready for
223+ * operation. The In-Call UI can use this as a cue to inform the user that the camera has
224+ * become available again.
225+ */
226+ public static final int SESSION_EVENT_CAMERA_READY = 6 ;
227+
215228 /**
216229 * Session modify request was successful.
217230 */
@@ -359,7 +372,9 @@ public abstract void onSessionModifyResponseReceived(int status,
359372 * Valid values are: {@link VideoCall#SESSION_EVENT_RX_PAUSE},
360373 * {@link VideoCall#SESSION_EVENT_RX_RESUME},
361374 * {@link VideoCall#SESSION_EVENT_TX_START},
362- * {@link VideoCall#SESSION_EVENT_TX_STOP}
375+ * {@link VideoCall#SESSION_EVENT_TX_STOP},
376+ * {@link VideoCall#SESSION_EVENT_CAMERA_FAILURE},
377+ * {@link VideoCall#SESSION_EVENT_CAMERA_READY}
363378 *
364379 * @param event The event.
365380 */
0 commit comments