Example #1
0
 private IAudioTrack CreateAudioTrack()
 {
     _audioSource               = _factory.CreateAudioSource(_audioConstraints);
     _localAudioTrack           = _factory.CreateAudioTrack(AudioTrackId, _audioSource);
     _localAudioTrack.IsEnabled = _enableAudio;
     return(_localAudioTrack);
 }
Example #2
0
 public IAudioTrack CreateAudioTrack(string id, IAudioSource audioSource)
 {
     return(_factory.CreateAudioTrack(id, audioSource));
 }