Android :: RTSP Streaming Using Media Player

Sep 19, 2009

Recently I just create an app (that is using mediaplayer) to play the RTSP Streaming. At the beginning,I use the SIM card to connect to the internet. I try to let the app play for many times. But it was only success once. Many times the app could not play and the buffer always shows 0%. While I use the WiFi to connect the internet, the rtsp could be played but when I use the another WiFi to connect to the internet, to my surprise it failed. Both the SIM card and WiFi, it all could play the http Streaming. The RTSP Streaming is very strange, I can not understand. I guess there is maybe something wrong with Wireless.

Android :: RTSP Streaming Using Media Player


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

Android :: RTSP Streaming With Media Player On Android 1.5 Image?

Sep 16, 2009

Could anyone make mediaplayer play the rtsp streaming work successfully on the standard HTC Android 1.5 image? I have tried a lot, but It always failed.

View 2 Replies View Related

Android :: Media Player Could Not Play RTSP?

Sep 9, 2009

I create a "mplayer" to play the rtsp on the emulator. When the "mplayer" play the http ,it is ok.
MediaPlayer mplayer = new MediaPlayer();
mplayer.setDataSource("rtsp://test.intra.3g.sina.com.cn/streaming/ 20090313/wenjiabao1.mp4");
mplayer.prepare(); mplayer.start(); but when it play the rtsp, it doesn't work. The Wireshark shows UDP Checksum Incorrect.

View 10 Replies View Related

Android :: No Update Buffering When Media Player Play RTSP?

Sep 13, 2009

Why Update buffering is always 0% when mediaplayer play the rtsp? I try to play this both on the emulator and on the device. But eveytime it shows that the Update buffering is always 0%. Could anyone give me a reason?

At last it always shows the log
E/MediaPlayer( 1455): stop called in state 4
E/MediaPlayer( 1455): error (-38, 0)
E/PlayerDriver( 1088): Command (7) was canceled

View 2 Replies View Related

Android :: Play RTSP Stream Using Media Player Or VideoView

Jul 2, 2010

I wanted to stream A/V from my machine to Android over HTTP
(http://lists.mplayerhq.hu/pipermail/libav-user/2010-July/004944.html).
But that does not seem feasible using FFMpeg. I am planning to try FFMpeg streaming over RTSP. But I am not sure whether MediaPlayer or VideoView classes on Android support RTSP playback. Is playing RTSP stream possible in simple application?

View 3 Replies View Related

Android :: How To Play Media Player With Non-file And Non-rtsp Source

Feb 15, 2010

We've a mpeg4 source that we would like to play in the media player. Our source is not in a file or on an rtsp server. It is hand coded to generate mpeg4 source on the fly. Imagine the data is coming from an unix pipe stream instead of rtsp or a file. How can I use that stream in media player?

View 1 Replies View Related

Media :: Find A Media Player To Play Streaming Videos On Andro?

Sep 1, 2010

Does anyone know where to find a media player that would allow you to play streaming videos on Android Browser?

I want to know if you can play streaming videos on your web browser on your android os phone.

View 1 Replies View Related

Media :: Player Url Streaming

Nov 16, 2010

I've got my HTC Desire and i got to listen to my favorite radio station. To do that i got to have an media player that can use url's like win amp or windows media player from windows for example. I've tried most of the e-radio software like tune wiki last. FM etc but it does not help.

View 6 Replies View Related

HTC EVO 4G :: Streaming Media Player

Sep 17, 2010

I am trying to figure out how to set the default player for streaming video on my EVO. I know there is a player on it from HTC called "Streaming Media Player" but it doesn't seem to be the default and I would like it to be. When I am using the Engadget app, and the article has a button to click for a video they have created, my phone seems to use the You Tube player and on occasion it just errors, but if I go to the actual article on the engadget web site and click the video, it opens in the HTC player and works fine. I don't get an option to choose which player I want to use when I click on videos, can I change any of this?

View 1 Replies View Related

Android :: Java Io Exception In Streaming Media Player

Nov 5, 2009

i have a very simple test app (see below), that simply tries to play a streamed audio file below over and over. after running for about half an hour (the file itself is only like 3.5 minutes or so), I get the following error:

11-05 12:16:07.625: DEBUG/PlayerDriver(554): buffering (15) 11-05 12:16:07.635: DEBUG/PlayerDriver(554): buffering (16) 11-05 12:16:07.644: DEBUG/PlayerDriver(554): buffering (17) 11-05 12:16:07.654: DEBUG/PlayerDriver(554): buffering (18) 11-05 12:16:07.654: DEBUG/PlayerDriver(554): buffering (19) 11-05 12:16:07.724: ERROR/PlayerDriver(554): Command PLAYER_PREPARE completed with an error or info PVMFErrResource 11-05 12:16:07.724: ERROR/MediaPlayer(897): error (1, -17) 11-05 12:16:07.734: WARN/System.err(897): java.io.IOException: Prepare failed.: status=0x1 11-05 12:16:07.744: WARN/PlayerDriver(554): PVMFInfoErrorHandlingComplete 11-05 12:16:07.744: WARN/System.err(897): at android.media.MediaPlayer.prepare(Native Method) 11-05 12:16:07.744: WARN/System.err(897):at com.test.TestPlayer.onCompletion(TestPlayer.java:61) 11-05 12:16:07.754: WARN/System.err(897):.......

View 2 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

Media :: Streaming Windows Player To Droid X

Jul 17, 2010

Within Windows Media Player 12 (Win 7 x64), I have checked "Stream > Automatically allow devices to play my media" Unfortunately, when I open up Media Share on the Droid X, and continue to the music folder, it doesn't show anything - instead it lists "no files found" Open Media Share -> Computer -> Play -> Next -> Next (DLNA) -> Next (allow remote playback stuff) -> Next (confirming we're connected to the same network) -> Then I go tot he All Music folder, and the Droid X says "No files to display"

View 8 Replies View Related

HTC Incredible :: Streaming Video That Requires Media Player

May 5, 2010

I was wondering if there is a good app like TCPMP for windows based smart phones that can be used for streaming video that launch video in MediaPlayer.

Also, for some reason I have trouble watching HULU on my droid, even in the Skyfire2.0.

View 1 Replies View Related

General :: Find And Use Windows Streaming Media Player For DROIDX?

May 25, 2012

How do you find and open the Windows Streaming Media Player for DROIDX

View 1 Replies View Related

Android :: How To Read RTSP Streaming?

Jun 11, 2009

To read RTSP streaming has been discussed a lot, but still not solved. Now android 1.5 realized, can RTSP streaming be played in android? The method setDateSource seems provide a way to receive RTSP streaming.
public void setDataSource (String path)

Sets the data source (file-path or http/rtsp URL) to use. Parameters path the path of the file, or the http/rtsp URL of the stream you want to play Throws IllegalStateException if it is called in an invalid state IOException IllegalArgumentException. Who knows how to use it? I wrote:

MediaPlayer mp =new MediaPlayer();
try { mp.setDataSource("rtsp://live.cri.cn/pop");
mp.setAudioStreamType(AudioManager.STREAM_MUSIC);
mp.prepare(); mp.start();
} catch (IllegalArgumentException e) {
// TODO Auto-generated catch block e.printStackTrace();
} catch (IllegalStateException e) {
// TODO Auto-generated catch block e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block e.printStackTrace();
}
But didn't work. May be the parameter in setAudioStreamType is wrong. Who knows?

View 2 Replies View Related

Android :: No RTSP Streaming Via Wireless LAN?

Mar 20, 2009

I have difficulties to stream a video file via RTSP using wireless LAN inside the browser. It works fine over the cellular network (WLAN deactivated). But if WLAN is activated the player the starts loading the clip but eventually displays an alert window stating that video playback is not possible. I encountered this issue on m.youtube.com and also on another site. Is it a bug? Maybe it is the T-Mobile branding?

View 4 Replies View Related

Android :: RTSP Live Streaming With Low Delay

Jan 21, 2010

Our team has been working on a live video application for Android and we'd like to get to a very low end-to-end delay. We use H.264 coded video, RTP packetization, and RTSP to reach the player. We have been experimenting with CIF resolution on Android 2.0. We have been experiencing about 3 seconds of delay on the player side. Any tips on how we could reduce it?

View 2 Replies View Related

Android :: RTSP Streaming - Local Network

Jul 18, 2010

I am wanting to try out RTSP locally so that I can play about with it etc. I've got RTSP working from m.youtube.com and would now like to try and get it so it streams from my LAN. Obviously the Emulator is no good, because like I've read it either requires a lot of computing power OR it has an internal firewall that prevents playback. Which ever the reason, the Emulator is not working. So I attached my HTC Hero to my LAN via WiFi (connected it to my WiFi router). I also have another computer (lets call it Computer A) attached to my WiFi via Ethernet cable, and then another computer (lets call that Computer B) attached to that one, again via Ethernet.

Now I've run Wowza server on Computer A and tried to browse via my HTC but it seems it is trying to connect out to the internet every single time. I've also run an Apache web server on Computer A, but Hero still can not see this, so I know it's not a configuration fault on the servers. How can I test RTSP when I can't even get my Hero to connect to my local network ? I've searched around to see what the problem but can't find it, so either no one knows, or more likely I am not putting in the right search parameters. Can someone perhaps guide me on this on how to attach phone into Local network? Once I have it connected I can play about with RTSP to my heart's content then.

View 3 Replies View Related

Android :: RTSP Streaming Support On Cupcake

Apr 21, 2009

I am doing development on RSTP streaming on cupcake. I want know more clear about it, so my question is, which version of 3GPP PSS has been support on cupcake, R4, R5 or R6?

View 2 Replies View Related

Android :: Need HTTP - RTSP Video Streaming

Jul 26, 2010

I need HTTP/RTSP Video Streaming with Android. Any Ideas ?
Is that possible to go with JMF with Android ? Any Working examples ?

Already tried with
http://davanum.wordpress.com/2007/12/29/android-videomusic-player-sample-from-local-disk-as-well-as-remote-urls/

Its not working with my case. Are there any specific types of videos that Android can stream?

View 1 Replies View Related

Android :: RTSP Streaming Video / File Container MP4

Feb 3, 2009

I'm trying to receive RTSP streaming video with g1. The video file I made was encoded using QuickTime pro, and they are progressive streamable with a hint track. Video is encoded in H.264, and audio is encoded in AAC LC. File container is MP4. (They can be played via sdcard). I used Darwin Streaming Server to stream this file. With sample media player given from android, I changed 'path' to the address like "rtsp://172.29.10.109/test.mp4". The results are really odd. It sometimes (like once per 20~30 times) runs well, but in other times, only audio is played and video freezes after first 1~3 frames.

View 15 Replies View Related

Android :: Full Screen Support For RTSP Streaming Video?

Apr 15, 2009

I am able to play a local video in full screen through Mediaplayer. But supplying an RTSP link to it gives a blank screen. Using VideoView, however, I am able to play the same RTSP link but not in full size. DavidSparks I am attaching a cc to you cos I have seen a similar kind of issue in your name. Can anyone help me in playing a full screen RTSP video. The Youtube application in G1 does so.

View 2 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

RTSP Streaming Not Working In VideoView

May 22, 2013

I am creating video playing app from Youtube. I have extracted Video Data using gdata API and got 3gp url for format 1,6. This i got extracted from Media:Group --> Media:content element. My Device Info Android Version 4.0.3.

These video is working in VLC Player but not in VideoView in my app. Here is my code:

Code:

android:id="@+id/LinearLayout01"
android:layout_height="fill_parent"
android:paddingLeft="2px"
android:paddingRight="2px"

[Code]...

I removed // from link as forum was not permitting me to put links

View 2 Replies View Related

General :: How To Record Received RTSP Video Streaming On Android Client

Oct 3, 2012

How to record the received rtsp video streaming on android client.

I need record the received video by a android smartphone via rtsp streaming (DSS 6) in mp4 or yuv file format.

I can do this using a pc/linux client but i do know how to do this on android.

Also, can an i access a android device using ssh and execute vlc, mobo or mplayer on it? How?

View 1 Replies View Related

General :: Capture Frame From RTSP Streaming

Jul 29, 2012

I am developing a application detect thief via ip camera.I watched successfully camera via rtsp on surface view, but I have a problem "how can I detect color in around center of surface view". In this case, If someone wear red T-shirt appear in front of camera, this app will notify that is red color.

I try to use mediametadataretriver with getFrameAt() method but fail, this method work well with mp4 local video.

How to capture frame from rtsp streaming on surface view?

View 1 Replies View Related

Android :: RTSP Streaming Video Files - Fail To Work On Android Device

Jul 10, 2010

I've Set up wowza streaming server in my ubuntu box for RTSP streaming video files. The video gets stream perfectly when I've Totem video player at client side. The same URL or video is failing to work on android device and the application that tries to access that RTSP URL breaks with Mediaplayer error (1,-1).

View 1 Replies View Related

Android :: Playing Media Through Http/rtsp

Nov 2, 2009

Did anyone try playing audio/video through http/rtsp. I am having a problem with either of the approach.... I am getting an error Command PLAYER_INIT completed with PVMFError I some cases I got Command PLAYER_INIT completed with PVMFErrorContentInvalidForProgressiveDownoload.

The code snippet I am using is given below...

CODE:.....................

The code works fine when I say mVideoView.setVideoPath("/sdcard/vv.3gp"); but not able to play if I give a rtsp/http urls

In case of http it says PVMFErrorContentInvalid for progressive download....

View 2 Replies View Related







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