I followed the doc to overrite the recording configuration and push video to rtmp://127.0.0.1/record/StreamName, but vs always show me that
'System.IO.DirectoryNotFoundException' in System.Private.CoreLib.dll
even if I don't change anything, there is no video saved in default directory.
FInally I saved the video successfully by changing the
public virtual string RecordPath { get; set; }= @"Record"
to
public virtual string RecordPath { get; set; } = System.IO.Directory.GetCurrentDirectory()
Are the instructions correct? Or Did I do something wrong above?
By the way , is there any method to saved the video at regular time or regular size, i don't want to lose the video after the program terminated by accident.
I followed the doc to overrite the recording configuration and push video to rtmp://127.0.0.1/record/StreamName, but vs always show me that
'System.IO.DirectoryNotFoundException' in System.Private.CoreLib.dll
even if I don't change anything, there is no video saved in default directory.
FInally I saved the video successfully by changing the
public virtual string RecordPath { get; set; }= @"Record"
topublic virtual string RecordPath { get; set; } = System.IO.Directory.GetCurrentDirectory()
Are the instructions correct? Or Did I do something wrong above?
By the way , is there any method to saved the video at regular time or regular size, i don't want to lose the video after the program terminated by accident.