C# Class KSUtil.Playback

Playback class, which supports playing an event file to the Kinect service
Datei anzeigen Open project: angelaHillier/KSUtil Class Usage Examples

Public Methods

Method Description
PlaybackClip ( KStudioClient client, string filePath, IEnumerable streamNames, uint loopCount ) : void

Plays an event file to the Kinect service

Private Methods

Method Description
VerifyStreamsForPlayback ( KStudioClient client, string filePath, IEnumerable playbackStreams ) : void

Verifies that the streams selected for playback exist in the file and are capable of being played on the service

Method Details

PlaybackClip() public static method

Plays an event file to the Kinect service
public static PlaybackClip ( KStudioClient client, string filePath, IEnumerable streamNames, uint loopCount ) : void
client KStudioClient KStudioClient which is connected to the Kinect service
filePath string Path to event file which is targeted for playback
streamNames IEnumerable Collection of streams to include in the playback session
loopCount uint Number of times the playback should be repeated before stopping
return void