LUA session:streamFile seek and speed without callback

In LUA, we can use callback functions to collect user input that adjusts speed, volume, and seek when using session:streamFile.

Is there a way to initially pass those parameters into the streamFile function without a callback?
(e.g. Can I begin streaming a file with speed:+1, or starting at seek location?)

Greetings,

You raise a very interesting question. At this time there doesn’t appear to be, the way that is ran is a wrapper around switch_ivr_play_file, Which is in switch_ivr_play_say.c, You can pass a second argument to streamFile as starting sample count.

SWITCH_DECLARE(int) CoreSession::streamFile(char *file, int starting_sample_count)

Thanks,
Brian