pjsua_call_set_vid_strm method

int pjsua_call_set_vid_strm(
  1. int call_id,
  2. int op,
  3. Pointer<pjsua_call_vid_strm_op_param> param
)

Add, remove, modify, and/or manipulate video media stream for the specified call. This may trigger a re-INVITE or UPDATE to be sent for the call.

@param call_id Call identification. @param op The video stream operation to be performed, possible values are #pjsua_call_vid_strm_op. @param param The parameters for the video stream operation, or NULL for the default parameter values (see #pjsua_call_vid_strm_op_param).

@return PJ_SUCCESS on success or the appropriate error.

Implementation

int pjsua_call_set_vid_strm(
  int call_id,
  int op,
  ffi.Pointer<pjsua_call_vid_strm_op_param> param,
) {
  return _pjsua_call_set_vid_strm(
    call_id,
    op,
    param,
  );
}