Android :: RTSP - MediaPlayer Init - PVMFFailure

Jun 16, 2010

I have a camera by Cisco and like to stream it's video stream to my android phone. It's coded in MPEG4 so there should be no problem, but it's not working anymore (it worked with another camera a few weeks ago).
CODE:...................

Android :: RTSP - MediaPlayer init - PVMFFailure


Android :: PVMFFailure When Using MediaPlayer For Radio Streams

Sep 1, 2009

I am trying to build streaming radio into my app, which works fines streaming files over the internet, but when i try to use a shoutcast url in get the error below, which from the soruce code looks liek the mediaPlayer is looking for the duration in the header. Does anyone know if shoutcast urls will work withthe default media player? Or do i have to download chunks into a ping-pong buffer sor something? The url has no porblems downloading via the browser.

the error is:-

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

View 15 Replies View Related

Android :: Unable To Play Rtsp Video (H.264) Stream In Froyo Using MediaPlayer

Oct 3, 2010

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

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

Android :: MediaPlayer.start - Doesnot Work Fine After Calling MediaPlayer.seekTo - 0

Apr 27, 2009

I have a requirement to play several sounds many times in my game so instead of creating the MediaPlayer again and again I have called mp.seekTo(0) in onCompletion(mp) so that it will restart. Sometimes the sound is not audible from the device when I call mp.start () after setting mp.seekTo(0); but the player calls onCompletion() without playing any sound, this is observed randomly on most of the sounds

My sounds are of short duration mostly less than a second.

I am using a separate MediaPlayer for each sound (as I need this) -

There are almost 28 sounds in my game so i will be creating 28 MediaPlayers.

Below is the attached code for player

Also If I try to play many sounds one after the other in a short period of time i get an error saying "no more track names available". can u tell Why this is happening...?

check the below code:

CODE:........

View 9 Replies View Related

Android : How To Do Some Init Operation Immediately After Install

Sep 29, 2009

There is a big database(15M) in my application, it is too big to download the apk if I publish the source database in myapp.apk. So I encode the db to binary files(300k). But the new problem is I should decode binary files and create the database(with data), this procedure take about several minutes, so I can NOT do this in SQLiteOpenHelper.onCreate(), this is too slow for user experience(though it is a one time procedure, it is still unacceptable).

My application has NO main activity entry in launcher, the main entry is Broadcast Receiver.on Receive, the information should display to user immediately when receiving the broadcast, so I have no chance to display a several minutes "Initializing, please waiting..." UI. The best chance to create database and init data immediately after install, but how to do this, is there any broadcast? or is there any AndroidManifest attribute?

View 3 Replies View Related

Android : DatePicker.init Crashes Without Reason

Oct 6, 2009

I'm having a weird problem. When I try to update my DatePicker it crashes, but I dont understand why. Via the debugger I could see the date[] function is filled the way it should be. Do you guys see the problem? String[] date = dateofbirthNode.getStringValue().split("/"); // "12/31/1969" DatePicker dateofbirthView = (DatePicker)findViewById (R.id.editprofile_dateofbirth_picker); dateofbirthView.init(Integer.parseInt(date[2]), Integer.parseInt(date [1]), Integer.parseInt(date[0]), null)Code...

View 4 Replies View Related

Android : Why Can Not Edit /init.rc On Adp1 With Firmware 1.1?

Mar 18, 2009

I flashed my adp1 to firmware 1.1 following the instruction from HTC. http://www.htc.com/www/support/android/adp.html But after that, I want to modify the /init.rc, after I remount the rootfs as writable, I can edit or replace the /init.rc file. But the file will roll back the original version after reboot the phone. Before I modify the /init.rc, I install the busybox to the phone, then I use 'cp" command to replace the /init.rc Any one can give me some advice?

View 4 Replies View Related

Android : Calling Number Without User Init?

Sep 12, 2010

For something like a 'help I can't get up' app -- is there a way for a user to set a contact number, and then for the app to call that number in the future WITHOUT the user initiating the dialout? I've tried the below but there seems to be a problem. Code...

View 1 Replies View Related

Android : System.getProperty() Cannot Get Prop Setting In Init.rc

Jul 29, 2009

I am trying to get property which I set in init.rc in Java app. But it always return null. Java code:String value= System.getProperty("ro.MY_PROPERTY");I have check "getprop ro.MY_PROPERTY" in console, it do return "1". But not know why cannot get it in Java app.Code...

View 3 Replies View Related

Android : Modifying Init.rc File To Import A New Configuration

Oct 26, 2009

I want to modified the init.rc file to import a new configuration file by adding the following lines in the init.rc file import /data/myconfig/conf/init.rc trigger system And the file at /data/myconfig/conf/init.rc contains on system export TRIAL_EXPORT /trial/export/to/be/replaced The problem is that I cannot get the new export (TRIAL_EXPORT)to working. When I issue the command echo $TRIAL_EXPORT on the adb shell I do not get anything. Can somebody point out what is wrong in here?

View 2 Replies View Related

Android : Repo Client Init Error Ubuntu 8.10

Jan 19, 2009

I am trying to download the android source onto a new ubuntu 8.10 installation on a x86 machine. All the steps worked fine until I tried to init the repo client. I get the following. I can't find anyone else having such an repo error. I did find an obscure message that said the python error might be due to a missing readline module. I tried to install lib32readline5-dev as in the download instructions and got the following error Any ideas anybody? I am somewhat new to linux but have had a fair amount of unix experience in the past. Code...

View 14 Replies View Related

Android :: How To Change Network Service Permission Without Modifying Init.rc File

Nov 8, 2010

I have a requirement to change network service permission(such as netd to 660 or something similar) for my application in order to access certain features. I dont want to edit init.rc file to make such changes. Since my application cannot be run in root mode, is there any alternative solution where i could do such modifications from my application point of view.

View 6 Replies View Related

General :: Recovery Has Different Init - CWM Can't Work

Feb 28, 2013

I have used my own graphics.c and postrecoveryboot.sh!But, after installing cwm recovery.img, it did not work!

Having this log:

Starting recovery on Wed Feb 27 20:14:47 2013
cannot open fb0: No such file or directory
CWM-based Recovery v5.0.2.8
recovery filesystem table
=========================
0 /tmp ramdisk (null) (null)
1 /boot mtd boot (null)
2 /cache yaffs2 cache (null)
3 /data yaffs2 userdata (null)
4 /misc mtd misc (null)

[Code] ......

I:Checking for extendedcommand...
active fb swap failed: Bad file number
I:Skipping execution of extendedcommand, file not found...

View 8 Replies View Related

General :: Init Asking For Root From SuperSU

Mar 10, 2013

Application "init" ask for root from SuperSu? I just did, and denied it, but I've never seen it happen before. Is this normal?

View 6 Replies View Related

General :: Error During Repo Init - Public Key Not Found

Oct 7, 2013

After I ran the curl to install the latest version of repo, when I attempt to run a repo init I get this error

Code:
dan@dan-laptop:~/aokp_jb$ repo init -u https://github.com/AOKP/platform_manifest.git -b jb-mr2 -g all,kernel,device,vendor
gpg: keyring `/home/dan/.repoconfig/gnupg/secring.gpg' created
gpg: keyring `/home/dan/.repoconfig/gnupg/pubring.gpg' created
gpg: /home/dan/.repoconfig/gnupg/trustdb.gpg: trustdb created
gpg: key 920F5C65: public key "Repo Maintainer <repo@android.kernel.org>" imported
gpg: key 338871A4: public key "Conley Owens <cco3@android.com>" imported
gpg: Total number processed: 2

[URL ......

repo 1.12.4

gpg: Signature made Tue 01 Oct 2013 12:44:27 PM EDT using RSA key ID 692B382C
gpg: Can't check signature: public key not found
error: could not verify the tag 'v1.12.4'

View 3 Replies View Related

General :: Enable Tether On Boot With Init Script?

Aug 30, 2013

All tutorials out there use script manager to enable tether on boot. I would like to avoid cluttering and make an init.d script to run each reboot.

My current syntax is:

#!/system/bin/sh

-A natctrl_nat_POSTROUTING -s 192.168.0.0/16 -o rmnet0 -j MASQUERADE

but this isn't working...

View 1 Replies View Related

HTC Desire : Init Process With Busy Loop - Sluggish Phone

Sep 23, 2010

(HTC Desire running 2.2) Sometimes the init process enters a busy loop, consuming all CPU time. This has happened to me three or four times now. When it happens, Android System Info shows 100% CPU usage and if you run top in a terminal emulator, you can see that it's the init process eating up the CPU.

This makes the phone real slow and the only cure I know of is a reboot.I was going to check out the logs while the init was looping, but I forgot. I don't know how to repeat this - today it happened when I exitted VLC Stream and Convert, but it happened before I even installed this application.

I think this happened before the 2.2 upgrade as well and my son said his Xperia X10 eats the battery real fast sometimes - so maybe the same problem exists in Android 1.6 already.

View 3 Replies View Related

Android :: Port Android On TCC89XX Board / Not Able To Start Init Process

Sep 23, 2010

I have started to port Android on TCC89XX board, I download Android SDK. and applied the patch with kernel 2.6.29, the Processor is having armv6 instruction set. I am not able to see the network up ifconfig is not able to show the network devices.

Also I do not get why there is no "on" binary in the system/bin, system/xbin, the init.rc and init.goldfish.rc. I cannot get the zygote process up. create_socket throws error. If any one knows about this, please tell what I need to do correctly or point me to some correct URL's.

View 2 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 :: Limit In Rtsp Redirect

Nov 4, 2009

I am seeing an issue when using rtsp based URLs on a wap site. If the rstp link has one redirect, then it works and default video player plays the stream. If the rtsp link redirects to another rtsp server and that server redirects to the final destination, then it does not play. Is there a limit in the # of rtsp redirects?

View 4 Replies View Related

Android :: Red5 Supports RTSP ?

Aug 21, 2010

I am looking for a way to play a live video stream on android. At this moment I publish webcam from Flash application to Red5 and transcode it there into the second live stream using Ffmpeg.

How can I play the second stream on Android ? I tried to transcode the stream into mp4 file, and hint it with MP4Box, but it doesn't work because file is busy by ffmpeg process...I see Red5 RTSP plugin, is it possible to receive the published RTMP stream via this plugin on Android ?

View 1 Replies View Related

Android :: Android Porting On Telechips / Not Able To Start Init Process

Sep 23, 2010

I have started to port Android on TCC89XX board, I download Android SDK. and applied the patch with kernel 2.6.29, the Processor is having armv6 instruction set. I am not able to see the network up ifconfig is not able to show the network devices.

Also I do not get why there is no "on" binary in the system/bin, system/xbin, the init.rc and init.goldfish.rc. I cannot get the zygote process up. create_socket throws error.If any one knows about this, please tell what I need to do correctly or point me to some correct URL's.

View 3 Replies View Related

General :: Unable To Get Device-added Init Action Trigger To Fire

May 20, 2012

I've been doing alot with the initialization routines in android just lately .

For all my efforts I have been unable to get the device-added init action trigger to fire,

Just to be clear this is set in init.rc and looks like the following,

Code:
on device-added-/dev/compass
start akmd

The above is taken from the init readme file which contains an example init.rc at the bottom

I did some further research and a quick search of the AOSP code. This revealed that the functionality is yet to be implemented. which obviously explains why the trigger wasn't being fired . The device-removed and service-exited triggers are also missing.

View 1 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 - 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 :: Rtsp Client For Stream Video?

Jun 28, 2010

say 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 Replies View Related







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