# enableAudioReceiving

Description

Enables or disables the reception of audio from a meeting participant

void enableAudioReceiving(string sPeerId, bool bEnable)

Parameters

Name Description
sPeerId Unique user identifier (TrueConf ID). It is recommended to use those obtained from the methods: On_newParticipantInConference, getConferenceParticipants
bEnable Flag to enable/disable reception

Response example

{
    "method" : "enabledAudioReceiving",
    "requestId" : "1",
    "result" : true
}

Response Parameters

Name Description
requestId A unique request identifier
result A flag indicating whether the request was successful

See also

Last Updated: 09/12/2025