MediaStream - How to display Audio - maybe using a progress bar or?

b4AMarkO

Member
Licensed User
Longtime User
I am using the following code to play my media stream ....

I would like to add the ability to see a progress bar or something that shows a visible response to the stream like found here
How would I do this?
Tulsa County Live Audio Feeds

B4X:
If Checked = True Then
    mp.Initialize("mp")
   mp.Load("http://relay.radioreference.com:80/264858664")
   Activity.Title = "Loading Tulsa TPD Freq"
Else
   mp.Stop 
End If
 

b4AMarkO

Member
Licensed User
Longtime User
You should handle the MediaPlayerStream_StreamBuffer event.

Hi Erel,
Love the program by the way

Ok ... StreamBuffer event ... wouldn't this show the stream buffering ie; Loading?

I might not have been clear myBad ... but I am wanting to create the effect of a Audio Meter ..... so when the voices are heard the meter so to speak responds as seen in the link I provided if you click the player you will see the two audio meter bars moving up n down respective to the voices on the audio stream
Help appreciated
 
Upvote 0
Top