General :: Player HLS (HTTP Live Streaming) Code Modification
May 25, 2012
I have source code from an appli running on android 3.2 with a WAMP Server and WowZa Server on my desktop. I have to make it accept the HLS (Http Live Streaming). I saw on the web that the Vitamio Library can do that so i used it. I know that natively, android 3.0+ do it well but i do not succeeded make it work successfully.
The player is successfully displayed but no video starts..After a reboot of my router (because my server didn't answer), the player crash each time.
Somestimes yes, sometimes no, i have some logs, they are as attachment.I think a buffer problem...
I think I have to implement this method (at the end of my code) but i know what type in it.public void onBufferingUpdate(MediaPlayer mPlayer, int percent)
IT WORKS VERY WELL WITH .MP4
Here's my code from the Player Activity :
Code:
package fr.niji.broadpeak.activity;
import java.io.File;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
/*import android.media.AudioManager;
import android.media.MediaPlayer;
import android.media.MediaPlayer.OnBufferingUpdateListener;
[code]....
Commented lines are the lines when i had still not used Vitamio.
View 4 Replies
Feb 7, 2011
i have read many posts related to http streaming but i haven't found any solution yet. My objective is to stream a video using http protocol.
i also want to know about streaming flash video too.
View 2 Replies
View Related
Jun 24, 2010
Can i download something like flash or an app that will let me watch the live feed and streaming on the bbc website on my galaxy s?
View 1 Replies
View Related
Nov 26, 2012
I found Pixel Media Server for streaming media files through DLNA to Internet-enabled TVs, but what I'm looking for is an app that can stream my live Android screen to my TV. Is this possible with DLNA or some other network technology?
View 6 Replies
View Related
May 12, 2010
Im experiencing an intermittent and very frustrating issue with MediaPlayer on Android when streaming MP3 over HTTP. Ive done as much research and debugging as I possibly can to try and find a solution, but am coming up short. I cant find reference to this issue anywhere, including b.android.com. Essentially, whats happening is MediaPlayer will not come out of the preparing state. The device is receiving audio data during this time, as indicated by network sniffs and the MediaPlayer buffering callback being invoked repeatedly with increasing percentage values, but eventually the buffer appears to become full and stops receiving. Because prepare() never returns, or more accurately when prepareAsync() is used and the onPrepared callback is never invoked, and neither the onError() nor onInfo() callbacks are invoked, the application can neither call MediaPlayer.start() nor make any sort of recovery. Other notable observations: The problem is intermittent, meaning that subsequent attempts to play the exact same MP3 stream from the exact same server may exhibit this behavior or not - The problem seems to be exasperated when the device is connected via 3G versus wifi - The problem occurs on different MP3s encoded by different software - The problem occurs when streaming from different HTTP servers - The problem cannot be reproduced on any of the Android SDK emulators - The problem can be reproduced on the HTC Incredible, Verizon Motorola DROID, and HTC Touch - When MediaPlayer successfully returns from the preparing state, there is an info message (what=1, extra=44) received. This info message is not received during the problematic case. Anyone ever experienced this, or even find a solution?
View 10 Replies
View Related
Sep 1, 2010
Does Andriod2.1 supports http streaming for mp3?
View 2 Replies
View Related
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
May 25, 2012
How do you find and open the Windows Streaming Media Player for DROIDX
View 1 Replies
View Related
Jul 6, 2009
AudioRecord can record audio data in pcm format in realtime, but there is no audio-encoder who can encode pcm data to amr format. may be third-party java code can do this, but the performance may be very low.MediaRecorder just record audio data to disk. not realtime.It seems that this is a real miss-impossible?
View 2 Replies
View Related
Oct 31, 2010
Is it possible to stream video to an Android device by using Windows Media Services? Which protocol should I use between RTSP and HTTP? Actually, I have a video file (MP4 format) at a server and I want to stream video files to an Andriod device.
View 1 Replies
View Related
Jan 16, 2013
I need a JavaScript code to create Live Wallpaper.
Example:
Bird in Flight
Night and Day
Moving Clouds
View 1 Replies
View Related
Nov 4, 2010
is there an app for streaming live TV on the Epic 4g?
View 1 Replies
View Related
Nov 14, 2009
I need help on live video streaming. I want to do the following things in live video streaming.
1. I want to broadcast the live video which is recording by camera from one android mobile directly to a particular ip address.
2. now i want to play that video to another android mobile from that ip address without storing that video.
View 4 Replies
View Related
May 28, 2010
app or anyway I can watch live usa tv for free on my samsung moment?
View 2 Replies
View Related
Oct 10, 2010
How do I get BBC Radio 1 streaming live? I know that you can listen on TuneIn but there is a delay. While I can live with it, it would be great if I could listen live without the delay.
View 2 Replies
View Related
Oct 30, 2010
Is anyone else recently having the problem with web browsers? The problem I am having is after a recent os upgrade to my dhd I get this message
http error code: 504
gateway time-out
It was with the default brwoser then i tried with another and got the same!
I can still use other apps like Twitter and facebook though, but web browsing is impossible.
View 2 Replies
View Related
Jul 20, 2010
Through my satellite reciver i can stream live on internet as http:// as well as mms://. i can watch these live streams on other pc through wmp or any other player , but when i try it on SGS with different media player options, it doesn't show anything,,, do i need to install some kind of app or a special media player for live streaming.
View 2 Replies
View Related
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
Feb 6, 2010
I think once Flash is available for Android phones...this will be a moot point, but.. Are there any sites out there that you may know of that streams live TV (news etc) without needing Flash? I've come across quite a few apps in the Marketplace that streams "pre-recorded" shows, and some are ok, but I'm looking for something that you can actually watch that isn't 2-3 days old. I know Orb allows you to stream live TV, but that requires you to setup a "server" with a TV Tuner card in your PC..provided that you have a spare.
View 13 Replies
View Related
Nov 25, 2009
Is it possible to stream live video from android to a server? If yes, can somebody give me some hints in how to do it?
View 3 Replies
View Related
Nov 7, 2010
HTTP error code: 504 (T-Mobile)
I've got a weird internet connection problem:
When using the standard internet app on mobile data (3G/HSDPA) I get the error for all webpages:
~~~~~~~~~~
Web page not available:
The web page at: ############# could not be loaded as:
HTTP error code: 504
Gateway Time-out
~~~~~~~~~~~
All other apps that require internet/data over mobile network function correctly (e.g. facebook, maps, twitter etc). When using the standard internet app on wi-fi it works fine, so I decided to download another browser (opera) and without inputting any settings it works fine on the mobile network and wifi.
One theory, after the recent update of 1.32.405.6 this may have caused this problem???
When looking at the settings, under wireless and settings, mobile network sometimes displays 'not connected' after using the internet app.
I've gone through all the settings, and can't see any issues? I've deleted cache, 'force stop', restarted the phone, removed the battery and sim card and restarted phone. I'm thinking it has to be a software issue with the internet app as i can use the 3G/HSPDA connection through other apps.
View 2 Replies
View Related
Oct 11, 2009
Has anyone tried streaming live video from there Hero to ustream.tv? Android supports it now, so it should be able to be done. I used to be a lifecaster but since I had no way of streaming video on the go, this would be a dream come true if I could do so on the Hero since it has Android.
View 7 Replies
View Related
Jun 26, 2010
if anyone wants to watch live tv streaming either through wi-fi or 3g then check out this web site,i have just done it and it works on both wi-fi and 3g,even thought the 3g signal is **** where i live. I am on o2 and i was always told they didnt support a live stream but it does work. Check it out and let me know.
View 2 Replies
View Related
Oct 5, 2010
Been pretty hit or miss for me, but Im trying to watch a stream of NFL network on atdhe.net, and it crashes the browser every time. Anyone else have any luck streaming live stuff?
View 6 Replies
View Related
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
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
Nov 22, 2010
streaming live video from android camera to server. What is the best approach in acheiving this ? Is it possible to use MediaRecorder for streaming video over internet?
View 1 Replies
View Related
Jan 26, 2010
I want to be able to listen to Talksport on my hero in the UK, but it won't stream live from their internet page (does on my pc). Any app that will allow me to do this on my phone?
View 5 Replies
View Related
Mar 4, 2010
Is there a method to catch HTTP error codes with a WebView? Because my goal is to capture a 401 code but nothing happen with "onReceivedError".
View 3 Replies
View Related
May 2, 2010
CODE:..............
Always, I get the status code as 405. I tried request queue as well.. sneding the byte array as part of the request queue, still the same issue.
View 1 Replies
View Related