You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now when the last track ends, there are some safeguards in the next function that prevents the stream from nexting to an unexistant next track, but play still gets called. I wonder if this is intentional?
I have a one track stream and would like to just stop the stream when it ends. I tried implementing it myself:
Thanks for this library, I would have wrote it myself but you beat me to it! (not complaining 👍 )
rxjs-audio/src/rxjs-audio-stream.ts
Lines 244 to 249 in 7bf226c
Right now when the last track ends, there are some safeguards in the next function that prevents the stream from nexting to an unexistant next track, but
play
still gets called. I wonder if this is intentional?I have a one track stream and would like to just stop the stream when it ends. I tried implementing it myself:
But it looks like this runs before
autoPlayNext
gets called hererxjs-audio/src/rxjs-audio-stream.ts
Line 285 in 7bf226c
The text was updated successfully, but these errors were encountered: