public void SetAudioSourceFormat(AudioFormat audioFormat) { if (_audioFormatManager != null) { logger.LogDebug($"Setting audio source format to {audioFormat.FormatID}:{audioFormat.Codec} {audioFormat.ClockRate}."); _audioFormatManager.SetSelectedFormat(audioFormat); } }
public void SetVideoSinkFormat(VideoFormat videoFormat) => _formatManager.SetSelectedFormat(videoFormat);
public void SetAudioSourceFormat(AudioFormat audioFormat) => _audioFormatManager.SetSelectedFormat(audioFormat);
public void SetVideoSourceFormat(VideoFormat videoFormat) => _videoFormatManager.SetSelectedFormat(videoFormat);
public void SetVideoSourceFormat(VideoFormat videoFormat) { logger.LogDebug($"Setting video source format to {videoFormat.FormatID}:{videoFormat.Codec} {videoFormat.ClockRate}."); _videoFormatManager.SetSelectedFormat(videoFormat); }