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