Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
componentDidMount () {
RtcEngine.getSdkVersion((version) => {
console.log('[RtcEngine] getSdkVersion', version);
})
console.log('[joinChannel] ' + this.props.channelName);
RtcEngine.joinChannel(this.props.channelName, this.props.uid);
RtcEngine.enableAudioVolumeIndication(500, 3);
}