Android :: Application - Play Streaming Audio And Video?

Apr 16, 2010

I want to develop a player on Android, which can play streaming audio and video.how should i start about?

Android :: Application - play streaming audio and video?


ADVERTISEMENT

Android :: How To Play Streaming Audio / Video From URL

Nov 1, 2010

I am new in Android. I am using android os 2.2. I am trying to play streaming audio and video from url. I don't know what to do for that. after 3 days og googling i come to know that I have to use mediaPlayer and MediaController classes.I had use different differend combination of codes found on internet but not succeed.Can anybody guide me what to do for streaming audio/video playing. What about the UI if we use MediaPlayer or Controller class. is there any thing to related these in xml file of layout.if not then even please tell me what may be the code for that.please help me.

View 2 Replies View Related

HTC EVO 4G :: Can't Play Streaming Audio From Web

Sep 19, 2010

My favorite TV and FM stations all have links on there websites for live streaming vidoe/audio. They all have Quicktime or Windows Media links but my Evo will not plahy them. I've tried several Radio apps on the Market but no luck with them either. Is this a planned fix or do I have to go back to to a I-phone or a windows based phone?

View 7 Replies View Related

Android :: Mediaplayer To Play Live Streaming Audio

Nov 8, 2010

In my music app, i would like to play live streaming like radio broadcasting with mediaplayer as Mediaplayer mp = new Mediaplayer(); mp.setDataSource(LiveStreamingURL); mp.prepare(); mp.start(); but after playing for few seconds it is stopped. I dont know how to overcome it. Give me your suggestions for this.

View 3 Replies View Related

Android :: Possible To Use Media Player To Play Streaming Audio?

Mar 21, 2010

The dev guide suggests this
MediaPlayer mp = new MediaPlayer();
mp.setDataSource(this, Uri.parse("http://wamu-1.streamguys.com:80"));
mp.prepare(); mp.start();
I can't seem to get it working though.
I'm getting "java.io.IOException: Prepare failed.: status=0x1"

View 6 Replies View Related

Android :: Getting Streaming Audio To Play With Media Player Class?

Jul 21, 2010

I am currently new to android development I been working on the examples in the Dev Guide in the android website. I want to get a stream from a server I have to play in the emulator when I insert the url it doesn't seam to want to play. My question is there a way to get the emulator to play audio or is it all enabled also does MediaPlayer require a special kind of format like mp3 or ogg? his is the code i am running on my 'onCreate()' method.
MediaPlayer mp - new MediaPlayer();
mp.setDataSource(MY_URL_);
mp.prepare();
mp.start()

View 1 Replies View Related

Android :: Streaming (live) Video And Audio From Camera Example App?

Mar 23, 2010

Where to get streaming (live) video and audio from camera example for Android? Suppose I want to create some live video streaming service app so I'll have some cool server at the back end. And I know how to do that part. Suppose I have some stand alone app for PCs now I want to go on to mobile devices. So I want to see some sample app grabing audio and video streams from Phone, Synchronizing them, encoding somehow, and sending LIVE stream to server. I need any Open-Source sample that will do this or something like this. Where can I get such one?

View 1 Replies View Related

HTC EVO 4G :: Way To Output Streaming Video / Audio To TV?

Jun 27, 2010

I subscribed to JetFlix, in the market. (Jetflicks! TV - Android app on AppBrain) It is a $3 app with a $10/month subscription. I watch it on my phone in my car at the lake during my lunch break. I know that probably sounds sad, but it is AWESOME. I'm a manager in the dang corporate world, and I forget that I am at work by the time I'm done with a movie and come on back to the office. It's my dirty little secret. ANYWAY, there are some great shows available on this application, and I was thinking of replacing my Netflix subscription with it if I could just stream it to my TV at home. I haven't bought an HDMI cable yet, because I don't have a use for one just yet. But is anything "streamable" to the tv? I read that only pictures and videos that were shot with the camera stream though the HDMI cable. If that is the case, what is the point? I keep all that stuff on a hard drive anyway. So my question: can I hook up an HDMI cable and stream Jetflicks to my TV? The Jetflicks movies play on the native Internet browser. So I guess a more accurate question would be: Does the native internet browser display on the TV through the HDMI cable? If so, is there audio?

View 10 Replies View Related

Android : Streaming Audio/video Can't Stream A Rtsp File

Aug 25, 2009

I want to stream a media file on web, and android developer website has said that MediaPlayer.setDataSource() can set the data source (file-path or http/rtsp URL) to use. But I got an error in both G1 device and emulator when streaming a rtsp url file: Command PLAYER_PREPARE completed with an error or info PVMFailure error(1, -1). Does anyone know what is this error, or anyone knows where can I get the error description (1, -1) means? the code can work successfully when playing a audio/video file or streaming a http protocal sudio/video file, but can't stream rtsp protocal file. Is android not supported rtsp streaming?

View 4 Replies View Related

Android : Play Video From Ftp Streaming File

Oct 3, 2010

If found many tips about how to stream from classic url link, but nothing about ftp. Is it the same way to proced ?

View 1 Replies View Related

Media :: Vodafone Audio/video Streaming Issue

Aug 15, 2010

I am on the brink of buying my first Android phone (HTC Desire) and have just stumbled across some postings about Vodafone's restrictions on streaming audio and video. I have read a few articles on this now, but I really don't understand exactly what the blocks apply to. It seems to apply to "RTSP" streaming, but I'm not clear about what this is and whether this just applies to live streaming, or also to recorded video such as clips on the BBC News site.Does this apply only to Vodafone, or also to other networks? I was thinking of getting a new contract with Vodafone because the coverage with my current provider Orange in my area is very poor, and because Vodafone have the best price for the Desire. However if this streaming problem applies to all video on Vodafone, I may well pay a little more and go for O2. I don't know whether this would make any difference, but I will be going for an unbranded and unlocked phone through CPW.

View 2 Replies View Related

Android :: Default Streaming Audio Application

Dec 30, 2009

When I pair my sprint htc hero to my car stereo, it always opens the default music player and starts playing a song. Can I prevent this from happening? I generally want to listen to pandora - and not my mp3's. Most annoying part is that the mp3's play simultaneously with pandora until I manually open that music app and pause the music.

There must be a way to either turn off the default action or to plug another program name into that defautl.

View 1 Replies View Related

Android :: Implementing Video Streaming & Video Playing On Android Application

Aug 15, 2010

Kindly provide me the code/steps for Android application which will provide the Video Streaming & Video playing functionalities by accesssing the Videos from various video websites available on Internet.

View 1 Replies View Related

Media :: I Want To Develop An Android Application For Video Streaming

Jul 12, 2010

I want to develop an android application for video streaming if someone knows please guide me

View 2 Replies View Related

Android :: Media Player Application - Video Streaming Through RTSP Protocol

Feb 16, 2010

I am writing a media player application in Android when I calling a mp.prepare() it is giving a IllegalStateException. The same RTSP URL working with VLC or quick time Media Player.

View 2 Replies View Related

HTC Incredible : Audio / Video Lose Sync During Play Movies / 3gp

Aug 24, 2010

I've read many topics from many android forums about this issue, but I have yet to see any posted solutions. If anyone know what program to convert videos, what settings to use, what resolution, what frequencies, what bitrates that will result in sync'd playback all the way through a movie, let me know.

View 1 Replies View Related

Android :: Where To Put 45 MB Files / Play List Of Audio In My Application

May 29, 2009

I am new to android and i need to play list of audio files in my application. but where can i put all the audio files as its large in size around 45 MB ? and how can i access it?

View 6 Replies View Related

Motorola Droid :: Home Video Streaming Application Possible?

Mar 18, 2010

I have used Handbrake to convert almost all our DVD's to MP4 (web enabled) on a 2 Terabyte network drive.

I'm looking for some "streaming application" that will allow me to watch any of these movies on my phone over the internet.

Is there such a thing? I know I have to have a dedicated computer (gateway) to access the movies, but after searching Google for the past hour, I've given up.

The only thing I can find is Orb, but the reviews aren't the greatest.

Has anyone done this successfully, and willing to share how they did it?

View 8 Replies View Related

Play Video File On Android Device But Getting Error - Cannot Play Video

Aug 7, 2011

Im using Eclipse created new android project.First thing i added to the menifest xml file two lines:

Code:
uses-permissionandroid:name="android.permission.INTERNET"></uses-permission>
<uses-permissionandroid:name="android.permission.STORAGE"></uses-permission>

And this is the complete menifest file code:

Code:
xmlversion="1.0"encoding="utf-8"?>
manifestxmlns:android="http://schemas.android.com/apk/res/android"
package="com.AllFormatsVideoPlay"
android:versionCode="1"
android:versionName="1.0">
[code]....

Now i tried to play a video file .3gp from the internet youtube link via my android device ! not emulator. And it worked! But when i tried to play a video file .3gp or .mp4( i converted the mp4 from 3gp ) its not working. Im getting error "Cannot play video Sorry, this video cannot be played"

Tried to play with the link to my device wich is: I:DCIM100MEDIAVIDEO0030.3gp or .mp4 or tried this: I:/DCIM/100MEDIA/VIDEO0030.3gp with "" like: "I:/DCIM/100MEDIA/VIDEO0030.3gp ";

I tried to remove the I: but it didn't change anything.This is the main code im using to play the video files on my device. And there some lines i marked with // wich i used to play from the internet and im not using now.

Code:
com.AllFormatsVideoPlay;
import
android.app.Activity;
import
android.graphics.PixelFormat;
import
[code]....

View 7 Replies View Related

Android :: Audio Record And Play Recorded Audio

Jun 2, 2009

Could you please let me know how to do the audio record in android emulator and play the same recorded audio. Could you please help me in proceeding in development.I tried with MediaPlayer API's also.Its not working.

View 5 Replies View Related

Android :: Live Video Streaming - How Will I Be Able To Send This Video To Computer?

Sep 21, 2010

I am trying to develop an android application which will be able to record a video and send it in real time to a remote computer. The computer then will play it live. I have managed to establish a connection between the android and the computer, and to record a video on the android phone. My problem is, how will I be able to send this video to the computer? Does anyone have an idea?

View 5 Replies View Related

Motorola Droid : How To Play Audio From Phone Through RR Audio System?

May 5, 2010

I connected my phone via USB to my RR sport to upload audio files to the RR hard drive. However, I keep getting connection error. Apparently my device is not being recognized as a storage. I did the unmount thinking. Also, I am wondering how I can play audio from my phone through the RR audio system.
RR is 2010.

View 2 Replies View Related

Android :: Audio Streaming From PC To Phone

Aug 26, 2009

I'd like to be able to keep tabs on my dogs while I'm away. Ideally, I picture an app running on my PC that can stream audio to my cell, when I run an app on my cell. Any ideas around this? And there can be monkeys in the middle (PC to webpage to phone).

View 1 Replies View Related

Android :: Audio Streaming Integration

Jan 27, 2009

How can I integrate the cupcake audio streaming code into the existing android sdk?

View 3 Replies View Related

Android :: Streaming Audio From URL Using MediaPlayer?

Dec 27, 2009

I've been trying to stream mp3's over http using Android's built in MediaPlayer class. The documentation would suggest to me that this should be as easy as :

MediaPlayer mp = new MediaPlayer();
mp.setDataSource(URL_OF_FILE);
mp.prepare();
mp.start();

However I am getting the following repeatedly. I have tried different URLs as well. Please don't tell me that streaming doesn't work on mp3's.

E/PlayerDriver( 31): Command PLAYER_SET_DATA_SOURCE completed with an error or info PVMFErrNotSupported
W/PlayerDriver( 31): PVMFInfoErrorHandlingComplete
E/MediaPlayer( 198): error (1, -4)
E/MediaPlayer( 198): start called in state 0
E/MediaPlayer( 198): error (-38, 0)
E/MediaPlayer( 198): Error (1,-4)
E/MediaPlayer( 198): Error (-38,0)

View 8 Replies View Related

Android :: Streaming Audio Over TCP Sockets

May 1, 2010

For my app, I need to record audio from MIC on an Android phone, and send it over TCP to the other android phone, where it needs to be played. I am using AudioRecord and AudioTrack class. This works great with a file - write audio to the file using DataOutputStream, and read from it using DataInputStream. However, if I obtain the same stream from a socket instead of a File, and try writing to it, I get an exception. I am at a loss to understand what could possibly be going wrong.

This is the code:.................

View 2 Replies View Related

Android :: Streaming Audio AAC Format

Jun 22, 2010

I have developed a streaming app for Android. My app is streaming AAC audio.The app works fine on 1.5, 1.6, and 2.1. I tested it on Froyo, the android 2.2 and it does not work there.I have try everthing - Streaming directly from server url - Download incrementaly the content, store in a temp file, start reading. - Download incrementaly the content, store in a ContentProvider and start reading.No luck, I always got errors : 06-23 02:47:02.257: ERROR/MediaPlayer(266): Unable to to create media player 06-23 02:47:02.257: INFO/System.out(266): setDataSourceFD failed.: status=0x80000000 Does Froyo support AAC? Anyone happens to stream AAC?

View 4 Replies View Related

Android : Does SDK 1.5 Support Audio - Mp3 Streaming

Sep 2, 2009

I am working on a music streaming application and cannot find APIs I can use for it (MediaPlayer supports files only local or HTTP). I have a few questions and would appreciate if someone can help me answering them.

Does Android SDK 1.5 support audio streaming (MP3 stream for example)? If does what API calls I can use? If doesn't what are the plans for future SDK releases that would support streaming? Are there any suggested work arounds until the streaming is supported (like temp files etc)?

View 2 Replies View Related

Android :: Update 2.1 Broke Audio Streaming

Jun 30, 2010

I have installed the 2.1 update on my HTC Hero yesterday, and happy as a puppy I instaleld my streaming app... Just to discover that it won't stream decently... It has to stream an mp3 stream and it works on my ADP 1.6 device, on a Samsung Galaxy S test-device (with 2.1) and on the 2.1 emulator...

Logcat is gettign the follwoing errors :

06-30 10:14:18.360: INFO/AudioPolicyService(56): stopOutput(): before lock
06-30 10:14:21.259: DEBUG/dalvikvm(1906): GC freed 28 objects / 1944 bytes in 186ms
06-30 10:14:21.439: INFO/AudioHardwareMSM72XX(56): AudioHardware pcm playback is going to standby.
06-30 10:14:21.439: DEBUG/StreamProcess(56): OutputStreamProcess::ResetAOLC()
06-30 10:14:22.919: INFO/AudioPolicyService(56): startOutput(): before lock
06-30 10:14:22.987: INFO/AudioHardwareMSM72XX(56): AUDIO_START: start kernel pcm_out driver.
06-30 10:14:26.329: DEBUG/dalvikvm(287): GC freed 11 objects / 488 bytes in 268ms
06-30 10:14:47.789: INFO/AudioPolicyService(56): stopOutput(): before lock
06-30 10:14:50.879: INFO/AudioHardwareMSM72XX(56): AudioHardware pcm playback is going to standby.
06-30 10:14:50.879: DEBUG/StreamProcess(56): OutputStreamProcess::ResetAOLC()
06-30 10:14:53.911: INFO/AudioPolicyService(56): startOutput(): before lock
06-30 10:14:54.022: INFO/AudioHardwareMSM72XX(56): AUDIO_START: start kernel pcm_out driver.

The result is a playing player, which stops (pauzes) every 10 seconds, the restarts This will work for about 8-10 restarts and then will simply stop without ever thrwoing an exception or something like that Which makes it somewhat difficult (if not impossible) to catch for us developers So has anyone been experiencing the same problem ? Does anyone have a clue if in this update another OpenCore lib has been used ? Does anyone have any solution ?

View 1 Replies View Related

Android :: Audio Only While Streaming Mp4 File To Device

Jul 11, 2010

I 've set Wowza streaming server to stream mp4 videos to Android phones. Android phone can play the RTSP stream successfully but here It only plays audio of the file not the video.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved