Exemple #1
0
 private void StartRecording()
 {
     if (_recordCall && ValidFileNameTemplate.Check(_recordFileName))
     {
         _call.RecordTo(_recordFileName);
     }
 }
Exemple #2
0
 public void Start(string fileName)
 {
     GuardDisposed();
     ValidFileNameTemplate.Check(fileName);
     _fileName = Path.GetFullPath(fileName);
     Id        = _mediaApi.CreateRecorderAndGetId(File, 0, IntPtr.Zero, 0, 0);
 }
Exemple #3
0
        public void Start(string file, bool loop)
        {
            GuardDisposed();
            ValidFileNameTemplate.Check(file);

            var filename = Path.GetFullPath(file);

            File = file;
            Id   = _mediaApi.CreatePlayerAndGetId(filename, loop ? 0u : 1u);
        }