How to record via api? (1 Viewer)

binary64

Portal Pro
July 30, 2006
105
1
Hi I'm trying this (playing a channel first..)

string location = @"c:\test-record.ts";
this.MeedioSystem.Log("StartRecording returned " + TvControl.RemoteControl.Instance.StartRecording(ref this.videoForm.user, ref location, false, 0));

which prints "True" to the log. the tvserver also creates that file, but it is 0 bytes (channel still playing, 10 mins later, still 0 bytes).

Am I doing it wrong? I want to "record what's on now - oneoff, no schedule". Ideally, it would even use the buffer to capture the whole program to the .ts file i specify.
 

Users who are viewing this thread

Top Bottom