Skip to main content

Py Session StreamFile

About

Click here to expand Table of Contents

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)