Should streaming plugin for "live" file play back be looping?

Hi,

I’m using the streaming plugin to “live” stream opus files from disk.

My assumption with the streaming plugin was that the file would stream live to clients and then loop back to the beginning when it reached the end of the opus file. (like the War of the Worlds demo on the janus doc site)

Is that the correct assumption?

If so, I’m noticing a strange thing happen. When the opus file has been fully streamed and at the end of the file, the server seems to sit and pause for an indefinite amount of time.

Is that expected?

-A

Yes, it should loop back. Try setting the debug level to 5, and you should see a “Rewind” log line when it reaches the end of the file. Make also sure you’re not getting errors in the logs related to this.

1 Like