problem with photon voice threshold slider
in Photon Voice
HI, im trying to add voice chat in my game but i found a problem before starting the game i set the threshold to 0.3, but when i play the game its always set to 0, no matter what, i also tried via script but that didnt work either, could i possibly know why and how can i fix it?
Hi, this will be fixed in the new release (which is comming soon). In the meantime, you can fix it by removing all calls to GetThresholdFromDetector() in Recorder and the method itself, except the one in Recorder.VoiceDetectorCalibrate() where you should replace it by:
this.voiceDetectionThreshold = this.VoiceDetector.Threshold;0