millicast / millicast-player-unreal-engine-plugin

Millicast Player plugin for Unreal Engine
Other
19 stars 15 forks source link

Real time mute not working #40

Closed Koous61 closed 1 year ago

Koous61 commented 1 year ago

I need to disable the sound in real time, for this I use the SetEnabled method on AudioTrack, however I still hear the sound image

dbaldassi commented 1 year ago

Calling SetEnabled indeed does not mute the audio, which might be a webrtc issue. Ohterwise, what worked for me to mute the audio is to set the volume of the audio actor to 0: MillicastAudioComponent->AudioComponent->SetVolumeMultiplier(0.0f);