/AWS1/IF_CHM=>UPDATEATTENDEECAPABILITIES()
¶
About UpdateAttendeeCapabilities¶
The capabilities that you want to update.
You use the capabilities with a set of values that control what the capabilities can do, such as SendReceive
data. For more information about those values, see
.
When using capabilities, be aware of these corner cases:
-
If you specify
MeetingFeatures:Video:MaxResolution:None
when you create a meeting, all API requests that includeSendReceive
,Send
, orReceive
forAttendeeCapabilities:Video
will be rejected withValidationError 400
. -
If you specify
MeetingFeatures:Content:MaxResolution:None
when you create a meeting, all API requests that includeSendReceive
,Send
, orReceive
forAttendeeCapabilities:Content
will be rejected withValidationError 400
. -
You can't set
content
capabilities toSendReceive
orReceive
unless you also setvideo
capabilities toSendReceive
orReceive
. If you don't set thevideo
capability to receive, the response will contain an HTTP 400 Bad Request status code. However, you can set yourvideo
capability to receive and you set yourcontent
capability to not receive. -
If meeting features is defined as
Video:MaxResolution:None
butContent:MaxResolution
is defined as something other thanNone
and attendee capabilities are not defined in the API request, then the default attendee video capability is set toReceive
and attendee content capability is set toSendReceive
. This is because contentSendReceive
requires video to be at leastReceive
. -
When you change an
audio
capability fromNone
orReceive
toSend
orSendReceive
, and if the attendee left their microphone unmuted, audio will flow from the attendee to the other meeting participants. -
When you change a
video
orcontent
capability fromNone
orReceive
toSend
orSendReceive
, and if the attendee turned on their video or content streams, remote attendees can receive those streams, but only after media renegotiation between the client and the Amazon Chime back-end server.
Method Signature¶
IMPORTING¶
Required arguments:¶
iv_meetingid
TYPE /AWS1/CHMGUIDSTRING
/AWS1/CHMGUIDSTRING
¶
The ID of the meeting associated with the update request.
iv_attendeeid
TYPE /AWS1/CHMGUIDSTRING
/AWS1/CHMGUIDSTRING
¶
The ID of the attendee associated with the update request.
io_capabilities
TYPE REF TO /AWS1/CL_CHMATTENDEECAPABILI00
/AWS1/CL_CHMATTENDEECAPABILI00
¶
The capabilities that you want to update.
RETURNING¶
oo_output
TYPE REF TO /aws1/cl_chmupattendeecapabi01
/AWS1/CL_CHMUPATTENDEECAPABI01
¶
Domain /AWS1/RT_ACCOUNT_ID Primitive Type NUMC
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
DATA(lo_result) = lo_client->/aws1/if_chm~updateattendeecapabilities(
io_capabilities = new /aws1/cl_chmattendeecapabili00(
iv_audio = |string|
iv_content = |string|
iv_video = |string|
)
iv_attendeeid = |string|
iv_meetingid = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lo_attendee = lo_result->get_attendee( ).
IF lo_attendee IS NOT INITIAL.
lv_externaluserid = lo_attendee->get_externaluserid( ).
lv_guidstring = lo_attendee->get_attendeeid( ).
lv_jointokenstring = lo_attendee->get_jointoken( ).
lo_attendeecapabilities = lo_attendee->get_capabilities( ).
IF lo_attendeecapabilities IS NOT INITIAL.
lv_mediacapabilities = lo_attendeecapabilities->get_audio( ).
lv_mediacapabilities = lo_attendeecapabilities->get_video( ).
lv_mediacapabilities = lo_attendeecapabilities->get_content( ).
ENDIF.
ENDIF.
ENDIF.