Py Session StreamFile
About
Click here to expand Table of Contents
- 1 Example
Example
Play wav file from beginning.
session.streamFile("/path/to/my.wav")
Example with mp3, specifying the starting sample index to start playback somewhere in the middle of the file.
start_sample_index = 100000
result = session.streamFile("/pub/song.mp3", start_sample_index)