Android :: Rtsp Client For Stream Video?
Jun 28, 2010say if android supports an RTSP stack? We've an RTSP server that we'd like to stream video to an android rtsp client if thats possible
View 8 Repliessay if android supports an RTSP stack? We've an RTSP server that we'd like to stream video to an android rtsp client if thats possible
View 8 RepliesHow 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?
I have managed to get a working video player that can stream rtsp links, however m not sure how to display the videos current time position in the UI, i have used the getDuration and getCurrentPosition calls, stored this information in a string and tried to display it in the UI but it doesn't seem to work code...
View 6 Replies View RelatedI 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 RelatedI have an app that worked fine on Android 2.1 (Eclair) but is no longer working in 2.2.1 (Froyo). I think this may have to do with the shift from OpenCore to StageFright for video encoding and decoding, but am unsure.
The debug logs show two things I'm not sure about:
Does this mean H.264 baseline is not supported? WARN/QCvdec(59): Parsing Error unsupported profile or level No idea about: ERROR/PVOMXVidDecNode(59): Ln 1373 OMX_EventError nData1 -2147479542 nData2 0
Play the following url (it works fine in VLC, for example): rtsp://nexus3.dropcam.com/6821ec44e37846428850ec195d69969a
The code:.........
The debug result:
CODE:................
Would someone post an example of how to stream audio/video files using rtsp in android........
View 1 Replies View Relateddoes android can recieve and play MMS or RTSP audio stream? or just can address for HTTP stream?? i try for MMS stream,but there is nothing to hear..
View 2 Replies View RelatedI'm using VideoView to play an RTSP video stream. It works fine, however on my Android phone the audio lags the video by about 3 seconds. If I watch it on my computer with VLC both the audio and video are in sync. Has anyone else experienced this audio delay before and how might I go about correcting it on the phone.
View 4 Replies View RelatedI was tried for RTSP stream for a long time, finally I could success to play the RTSP stream from mobile Youtube website:
http://m.youtube.com/
My approach is to copy the stream link and paste it in my code, then, there are sometimes success to work(play) on Android and sometimes will not. I can't figure out why? Is something wrong about Youtube server? Because my code is just the same, and only change is the stream link URL. I used VideoView widget and my Android platform is sdk 1.5 and under x86-based, so I really want to know why and how can I solved for this. This is the logcat when I can't work for the video stream.
W/PlayerDriver( 2116): Using generic video MIO
E/PlayerDriver( 2116): Invalid percentage buffer size 8 (expected 4)
E/PlayerDriver( 2116): Invalid percentage buffer size 8 (expected 4)
E/PlayerDriver( 2116): Invalid percentage buffer size 8 (expected 4)
E/PlayerDriver( 2116): Invalid percentage buffer size 8 (expected 4)
E/PlayerDriver( 2116): Invalid percentage buffer size 8 (expected 4)
E/PlayerDriver( 2116): Invalid percentage buffer size 8 (expected 4)
E/PlayerDriver( 2116): Invalid percentage buffer size 8 (expected 4)
I/ServiceManager( 2112): service 'media.audio_flinger' died
W/MediaPlayer( 3344): MediaPlayer server died!
E/MediaPlayer( 3344): error (100, 0)
E/MediaPlayer( 3344): Error (100,0)
I/ServiceManager( 2112): service 'media.camera' died
D/VideoView( 3344): Error: 100,0
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?
I need to play an RTSP audio stream on an Android phone, linked to from a web-page. What's the simplest way to achieve this? I hope this will be very simple but unfortunately I don't have a phone on which to test.
View 1 Replies View RelatedI 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?
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 RelatedI 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 RelatedDid 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.
Can some one explain what is the problem. 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.
Can some body tell me what is the problem. Can you please post the code if someone has been successful in playing audio/video through http/rtsp.
I have Googled my butt off trying to find where if there is a surefire way to make rtsp work. I have a radio station that I listen to that streams via rtsp. Of course by default Android doesn't want to play it. If I pop the URL into yourmuze.fm and create a station there it lets me stream it to my phone. After checking how it works I come to find that it streams to the phone via rtsp! So obviously there is something amiss. What makes one stream work and one not? This is the stream I am attempting : rtsp://wms2.christiannetcast.com/yes-fm
It is an audio stream so I would be thrilled with most peoples problem of "it only does audio and not video." When yourmuze.fm streams, DDMS states it brings up MovieView to play the audio if that helps at all.
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 RelatedI'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 RelatedI am currently involved with developing a streaming media player for android. For testing purpose I have HTC HERO , HTC G1, and droid. I could stream audio and video both for only HERO. On G1 and Droid I get this error "Player Engine AO did a leave , error = 101 ", surprisingly this comes as soon as describe response is sent to the client!. So far I have not able to find out the exact cause of this error. Should it imply that (on droid and G1) Video type H264 is not supported for streaming? (RTSP).
Firmware details.
HERO >> 1.5 G1 >> 1.6 droid >> 2.0
RTSP streaming for only aac works fine on all the devices.
There is an online stream that is 512Kb MPEG4 and total size of 312mb online and if I'm correct after looking over docs in order to play the movie I just simply put:
CODE:..................
It is triggered to play after a button press which after a few seconds after pressing the button it plays the audio BUT doesn't show the video, why not? Do I have to use a surface view or something for visual playback of the stream.
In my application, RTSP streams play only sound without video, but if i specify the video path as a local file, it plays the video and audio.
How would i get the RTSP streams to show video?
CODE:.................
Video streaming using RTSP. I 'm trying to install a Wowza server on my linux machine to enable the RTSP streaming for my android application. On android client side what sort of changes do I need to make in my application. I am using Videoview to simply play a video file stored locally. Now I want to get the video content get streamed through the server that I've installed. If necessary I can move to any other streaming server as right now I 'm doing a research on streaming servers.
View 2 Replies View RelatedI'm trying to stream video to an android phone via rtsp. I think my SDP isn't quite right and there's something in it that the phone doesn't like. Below is the trace from the phone. Any idea what's wrong with the SDP that causes the player to give up?
10-08 14:11:22.657 I/RTSPEngine( 5031): RTSP Server response:
10-08 14:11:22.657 I/RTSPEngine( 5031): RTSP/1.0 200 OK
10-08 14:11:22.657 I/RTSPEngine( 5031): CSeq: 0
10-08 14:11:22.657 I/RTSPEngine( 5031): Date: Fri, 8 Oct 2010 21:11:24 GMT
10-08 14:11:22.657 I/RTSPEngine( 5031): Expires: Fri, 8 Oct 2010 21:11:24 GMT
10-08 14:11:22.657 I/RTSPEngine( 5031): Last-Modified: Fri, 8 Oct 2010 21:11:24 GMT
10-08 14:11:22.657 I/RTSPEngine( 5031): Session: 123456
10-08 14:11:22.657 I/RTSPEngine( 5031): Content-Type: application/sdp
10-08 14:11:22.657 I/RTSPEngine( 5031): Content-Length: 207
10-08 14:11:22.657 I/RTSPEngine( 5031):
10-08 14:11:22.657 I/RTSPEngine( 5031): v=0
10-08 14:11:22.657 I/RTSPEngine( 5031): o=- 21070 3 IN IP4 0.0.0.0
10-08 14:11:22.657 I/RTSPEngine( 5031): c=IN IP4 0.0.0.0
10-08 14:11:22.657 I/RTSPEngine( 5031): s=xxxxx H.263 video stream
10-08 14:11:22.657 I/RTSPEngine( 5031): i=Video stream
10-08 14:11:22.657 I/RTSPEngine( 5031): t=0 0
10-08 14:11:22.657 I/RTSPEngine( 5031): m=video 0 RTP/AVP 103
10-08 14:11:22.657 I/RTSPEngine( 5031): a=rtpmap:103 H263-1998/90000
10-08 14:11:22.657 I/RTSPEngine( 5031): a=fmtp:103 profile=0; level=40
10-08 14:11:22.657 I/RTSPEngine( 5031): b=TIAS:2048000
10-08 14:11:22.667 E/PlayerDriver( 5031): Command PLAYER_INIT completed with an error or info PVMFErrNotSupported
10-08 14:11:22.667 E/MediaPlayer(13821): error (1, -4)
I want to play video file that exists in one of my servers. I am using MediaPlay and VideoView classes and it works fine but the problem is that the video start to play only when it finished downloading the whole file. How can i stream it, meaning play the video while it continues to download?
View 4 Replies View RelatedI want to stream a video to Android, preferably over RTP. Session setup would be done with SIP. Any ideas where to start? I looked at sipdroid, but there is only audio.
View 2 Replies View RelatedI want to get the stream and send it to server directly by using MediaRecorder.
Actually, I am able to record the video,and able to store it into sdcard. Now I want to it to stream (live stream) to server rather than storing it.
I am trying to play the streaming video using the API demo application. I set the path to mp4 link from the web.
when i run it with Nexsus 1 (SDK 2.2.1) it is working as expected but on HTC Dream (SDK 1.5) it throws the following exception:
CODE:.......................
Currently I am developing an application that will stream video using RTP and SIP. I have this mostly working with audio working fine both ways using Java (and native) codecs. I can stream out video also from the camera to a windows client.
The problem comes from when I want to receive and decode the video on the android platform. I understand at this stage that Mediaplayer only supports RTSP streams. Ironically it does what I need (by getting the SDP information from using RTSP SETUP call and using that RTP/UDP information to receive the stream). But I can't seem to access this functionality, all it takes as input is a RTSP url. If you are unfamiliar the difference between RTSP using RTP and SIP using RTP. You can read about the differences here<http://www.cs.columbia.edu/~hgs/rtsp/faq.html#rtsp_sip> .
What I need to do is take an RTP stream encoded with h.263-1998 and somehow pass it to the mediaplayer (or even a lower level api if somebody can provide an example).
The only way I can think around this is to write another service to receive the RTP stream and provide an RTSP interface... but this is a really ugly solution.
I bought a cable, manufactured by HTC, which is supposed to give you the ability to stream video out via the device's usb connector. It has a usb connector on one end and splits out to three rca plugs on the other (the usual red, white, and yellow for audio and video). HTC claims that the cable is compatible with my phone (the HTC Eris). When I connected the cable and it didn't work, I wrote to HTC support, which replied that I need software to enable the phone to do this. I searched the anroid market and the web and could not find any such software. I wrote back to HTC asking for them to suggest software to me and they never responded. Does anyone know of such software? Would HTC manufacture a cable in anticipation of somebody developing the proper software?
View 4 Replies View RelatedHas anyone gotten vuze to stream video to their phone? If so what on the phone needs to be done, some app or setting? PS3 works great, although that I can actually see the vuze device fine. In vuze it see's my phone in the devices but I'm not sure what to do other than copy over the movie to the phone in vuze. Plus it looks like the phone is grayed out in vuze.
View 2 Replies View Related