I am working on music player which plays audio stream from URL.
My problem is when I move seek bar position back the again it starts buffering but in reality it should be able to play old buffer data when I move seek bar to previous position.
Suppose I have reached 50% of song length and if I move back say to 30% it again starts streaming.
I do not know how to handle it.
Again I am explaining:
I
I am making an app in which i want to stream live audio and play in my application and i am unable to play.My code is as follows:
play=(Button)findViewById(R.id.button1);
pause=(Button)findViewById(R.id.button2);
stop=(Button)findViewById(R.id.button3);
mp3=new MediaPlayer();
try {
mp3.setAudioStreamType(AudioManager.FLAG_PLAY_SOUND);
mp3.setDataSource
i'm trying since a few days to play Youtube rtsp streams in my Android app,
but only get Errors from Android MediaPlayer instance - unable to open file.
I've tried to open 3gp files, it can play.
I am trying to code so I get a message saying "Progress changed" when I move a seekbar but my code is not working.
textView = (TextView) findViewById(R.id.textView1);
seekBar = (SeekBar) findViewById(R.id.seekBar1);
Listener seekChange = new Listener();
seekBar.setOnSeekBarChangeListener(seekChange);
The inner class is:
private class Listener implements OnSeekBarChangeListener
Anyone else have issues using the Youtube App in relation to an endless amount of buffering? If i try to watch a HQ video thru the App it has to buffer every 5 seconds or so.....making it pretty much impossible to use. I can however load youtube in a browser, and stream just fine.....leading me to believe the App is the problem.
Link successfully established and able to send data.
Android is sending SeekBar data when ever we change it.
public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {
if(seekBar.getId() == R.id.seekBar)
{
speed.setText(String.valueOf(progress));
String outputData = String.valueOf(progress);
streams.write(outputData.getBytes());
}
}
str
I'm building an app that plays back my internet radio station, and I have 2 internet radio streams, one high quality and one is low quality, I followed the guide on this page HTTP Progressive Streaming which works great for a single URI, I was able to stream my radio station and works awesome, but I have been bashing my head for a few days now trying to figure out how to do the below, and get it t
I am looking for a Windows desktop player of RTMP stream.
Tried VLC, but it does NOT open RTMP streams.
I am aware of rtmpdump+VLC, but this is not user-friendly...
Is there any other player that could be used to play RTMP streams?
Thank you.
So I'm writing a new app and a big part of the app is to play audio(.mp3) via a media player on the app. I'm quite new with tinkering with how Android handles media so please bare with me. The total amount size of the audio files is around 1.5 gigabytes, each file has an average of approx. 120mB. When the user clicks on an audio file to listen to how should it be given/played by the app?