private IAudioTrack CreateAudioTrack() { _audioSource = _factory.CreateAudioSource(_audioConstraints); _localAudioTrack = _factory.CreateAudioTrack(AudioTrackId, _audioSource); _localAudioTrack.IsEnabled = _enableAudio; return(_localAudioTrack); }
public IAudioSource CreateAudioSource(MediaConstraints mediaConstraints) { return(_factory.CreateAudioSource(mediaConstraints)); }