Hi,
I'm using MediaPlayer and MediaPlayerStream objects to play local and to stream remote audio files.
MediaPlayer has the Initialize2(EventName As String) method for setting a EventName_Complete called when the audio file reproduction finishes.
In contrast, MediaPlayerStream available events are StreamReady, StreamError and StreamBuffer. There is not a Complete event.
Now, my question is: how may I understand (by code) that audio file reproduction reach its end when I'm using a MediaPlayerStream object ?
Best regards,
Francesco Pellone
I'm using MediaPlayer and MediaPlayerStream objects to play local and to stream remote audio files.
MediaPlayer has the Initialize2(EventName As String) method for setting a EventName_Complete called when the audio file reproduction finishes.
In contrast, MediaPlayerStream available events are StreamReady, StreamError and StreamBuffer. There is not a Complete event.
Now, my question is: how may I understand (by code) that audio file reproduction reach its end when I'm using a MediaPlayerStream object ?
Best regards,
Francesco Pellone