public void Play(string streamKey) { var audioStream = GetAudioStream(streamKey); ApplySyncIfOneExistsForCurrentPosition(audioStream); AudioStreamHelper.Play(audioStream); }
/// <summary> /// Starts playing the raw loop track at the offset of the raw-loop section. /// </summary> public void PlayRawLoop() { if (RawLoopTrack == null) { return; } // DebugHelper.WriteLine("Playing in raw-loop mode"); AudioStreamHelper.Pause(RawLoopTrack); AudioStreamHelper.SetPosition(RawLoopTrack, RawLoopTrack.RawLoopOffset); AudioStreamHelper.Play(RawLoopTrack); }
private void PlayWithNoSyncs(string streamKey) { var audioStream = GetAudioStream(streamKey); AudioStreamHelper.Play(audioStream); }