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.

Android :: RTSP Streaming - Local Network


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 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.

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

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

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 Streams Play Only Sound - While Local Does Video And Sound

Jul 10, 2010

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:.................

View 2 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 :: H264 Video Type And RTSP Streaming On Android

Dec 3, 2009

I 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.

View 3 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 :: RTSP Live Streaming Not Work On Android 1.5 / 1.6?

Jul 27, 2010

My main dev phone is a Nexus 1 running 2.2. I have successfully been streaming live video to this device from a Wowza server for several weeks now. I have now taken my application (without modifications) and put it on a Sony Ericsson Xperia running 1.6. The video will not play. I get the following errors:

MediaPlayer: Couldn't open file on client side, trying server side
... MediaPlayer: info/warning (1/26)
PlayerDriver: Command PLAYER_INIT completed with an error or info PVMFFailure
MediaPlayer: Error: (1,-1)
VideoView: Error: 1,-1

I've been googling around, but just can't seem to get a clear answer. Does anyone know if live streaming just doesn't work on some versions of Android?

View 1 Replies View Related

Android :: RTSP And HTTP Streaming In Android

Apr 29, 2009

I need your help regarding streaming in android. I read some of the previous discussions but I have a few doubts which I thought of clarifying from you. Please help me with the following aspects:

(i) Does android supports RTSP and HTTP streaming?
(ii) One discussion read -> "Streaming does not work in the emulator environment due to some firewall issues in the emulator network layer". Is this issue not resolved till now?
(iii) I used the api demo code available
@ ApiDemossrccomexample androidapismediaMediaPlayerDemo_Video.java

Here I set the path as->
path = "Rtsp://10.2.5.220/sample_50kbit. 3gp"; OR as ->
"path = "rtsp://10.2.5.220/sample_100kbit.mp4"
This is crashing @ mMediaPlayer.prepare();
(I am using darwin streaming server)

This is playing fine in local playback. But, I am not able to understand why it is crashing here.
(iv) The supported codecs are MPEG4 Video, AVC, MPEG4 Audio, AMR, and H263. Am I correct? I await your response. Kindly assist.

View 5 Replies View Related

Android :: Video Streaming Using RTSP In Android

Jul 6, 2010

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 Related

Android :: Streaming Video To Android Via RTSP

Oct 8, 2010

I'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)

View 2 Replies View Related

Android :: RTSP Coding / Surefire Way To Make Rtsp Work?

Apr 24, 2010

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.

View 1 Replies View Related

Motorola Droid X :: Streaming Local Radio

Jul 16, 2010

This url is for my local NPR station. No flash is required, but none off the links work on Droid X, even though no flash is required. WHY?

View 2 Replies View Related

Motorola Droid X : NFL App To Listen To Bengals Game / Streaming Local Channels?

Aug 14, 2010

I travel a lot and I'm always trying to listen to my local channels, iheartradio is the only streaming app that has the specific channel I want to hear. I have the Eris and it seems the streaming quality is not to good, constantly cutting out.

Question is would the Droid X pick up this station or this app better than the Eris?
I also have At bat MLB 2010, no problems what so ever it seems it plays no matter where I'm at, tried the NFL app to listen to the Bengals game last week it was almost as bad as iheartradio.

Is it more the app or the phone? I know my call reception with the Eris is not great. but like I said MLB comes in great.

View 1 Replies View Related

Android :: Emulator Access Server In Local Network

Aug 26, 2010

i am having difficulties to have my android app running in the emulator to connect to servers in my local network.i am getting a java.net.UnknownHostException but the servers are resolvable fine from the machine where the emulator is run.

View 2 Replies View Related

Android :: How To Config Computer / Phone Network To Access Local Web Server Via USB?

Aug 20, 2010

Current configuration Use Android emulator and GAE tools (to access local GAE service I set uri http://10.0.2.2:8888/XXX and it works.I would like to use Android device(phone) via USB to call web service running on connected "local" computer.What is best configuration practice ((I don't have static IP) I am using mac and linux)?

View 1 Replies View Related

General :: How To Hide Device From Local Network

May 8, 2014

At work, we are networked together (not wireless), anyone can type, for example \cpu1253c$ and you are now mapped to that person's computer, you can view anything on there and they don't even know you are in their computer. So I am wondering how to hide or protect my phone when it's plugged in, just charging or as a disc drive. I could use a wall charger but when I want to do file transfers, I am not sure if anyone can access my phone (Samsung S4). I am not sure what kind of network our company is on, when I log in from home, it comes to a SSL-VPN screen, another says Sonic Wall. Today I tried the properties option in the folder I had open with my phone and there was no "no share" option that I could see

View 4 Replies View Related

Android : Content Provider Implementation - Original Data Stored On Network Or Local/remote File Systems

Jun 13, 2010

I'm now trying to implement my own content provider. My original data was stored on network or local/remote file systems, so I want to provide data via input stream. I know that client may call ContentResolver.getnputStream to retrieve the input stream to access data. But I don't know how to implement content provider in this situation, I searched the Internet but all the tutorials for content provider are talks about how to expose data that stored on local database. how to expose data that stored on file systems using a content provider? what happened when client call ContentResolver.getnputStream? I want to know how to return an input stream to my client.

View 4 Replies View Related

Samsung Captivate :: Create Sort Of Wifi Lan Network (make Phone Work As Local Area Router Without Internet Access)?

Sep 13, 2010

Is it possible to create a sort of wifi lan network (i.e., make the captivate work as a local area network router without internet access)? this could potentially be useful: quick filesharing, improvised LAN for games, etc...

View 1 Replies View Related







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