RTMP vs HLS vs HDS - android

I would like to stream a VOD/Live on following platforms using JW player but not sure which streaming is best suited for each platform
Desktop
iOS
Android
I understand RTMP will not play on mobile devices.
So do I need to go for RTMP for desktop and HLS for mobile or can I use only the HLS streaming for all the 3 platforms?
Or is there any other way to efficiently stream VODs/Live?

You could simply fall back to a vod MP4 file for Android. Here is a set up - http://www.longtailvideo.com/support/jw-player/29394/hls-with-mp4-fallback

For live on iOS. HLS is your only option. Because of this I usually like to use HLS everywhere. For Desktop something like JWPlayer premium can play HLS in flash.

Related

How to play Red5 streaming at all smart devices?

I have installed red5 server on ubuntu 12.04 lts at AWS instance. I have successfully streamed my live stream using with Adope live encoder and play it with jwplayer on websites. Now I need to play my live stream on all smart devices. I have referred so many forums but I did not get the good solution for this. I have some restriction to play on mobile.
do not play with Flash browser at all smart-device. need to play it's own player when they connected to my website.
Is there any possible to play my live streaming with html5 video Tag
How can I achieve this setup? I know the red5 server only stream RTMP protocol. I want to re-stream to android, iphone, blackberry, Nokia, and also all smart devices and tab.
In practice you need to send the screams in three types:
HLS for IOS/Windows/BB devices
RTMP/RTMPT/RTMPS for browser based Flash clients (or AIR based native apps)
RTSP for Android/BB devices (as HLS should but rarely does work on Android devices)
Additionally there are some vendor specific technologies like Microsoft Smooth Streaming or webM by Google
You can use a streaming CDN like ScaleEngine.com to transcode and supply the necessary bandwidth to have streaming for all devices (RTMP for browsers, HLS for iOS devices and RTSP for Android). If you are inexperienced and you won't have terabytes of traffic, this might fit the bill.
If you are interested in a self hosted solution, a combination of:
Red5/Wowza/nginx-rtmp for recording management
FFmpeg for transcoding
nginx-rtmp for HLS
crtmp-server for RTPS
might do the trick.
There is no all in one solution. The ONLY way to stream live video in iOS is HLS. Some versions of Android may support HLS. I have not idea what formats blackberry and Nokia support. You will need to research this.
If you create your mobile app with Adobe AIR (with either Adobe Flash or Apache Flex), then your mobile app will support live audio/video streaming - on iOS, Android and BlackBerry 10 platforms.
Distribution to mobiles can be done with Wowza rtmp server packetisers for iOS HLS and RTP playback.
But you need to stream in supported formats/codecs.
If you stream with a web based flash broadcasting tool, stream will not be compatible with iOS because Flash does not encode AAC, so you need to transcode it.
Transcoding can be done with Wowza Transcoder addon or ffmpeg as available with VideoWhisper Live Streaming that can produce a HTML5 video for Safari playback (on iOS / desktop).

Does Vitamio support inline HLS video streaming?

I'm interested in using Vitamio for an Android project that would use HLS video and support older 2.x versions of Android.
I'm trying to play the video inside and html5 <video> tag, but need it to play inline as opposed to fullscreen. Additionally, I want this to work for live streaming (i.e webcam) not pre-recorded videos.
Does anyone know if it can do this? Alternatively, is there another library I can use to make this work?
Additionally, if I can't do support back to 2.x but this can work in 3.x I'd love to know that too.
Vitamio Network Protocols
The following streaming protocols are supported for audio and video playback:
MMS
RTSP (RTP, SDP), RTMP
HTTP progressive streaming
HLS - HTTP live streaming (M3U8)
And yes, Vitamio can handle on demand and live videos in all above protocols.

Same technology for streaming video to iOS, Android app

I would like to know the best way to stream video to an iOS and Android app.
I would like to use the same technology for all mobile operating system.
I think to use the HTTP Streaming Live because this is the only protocol supported by IOS.
But I do not know if the HLS works on Android, Blackberry and Windows Phone.
If I use the HTTP Live Streaming, I do not need to use a streaming server like Wowza or DSS, right?
Regards
Aleanar
the android tablet versions (3.0+) only supports HTTP Live Streaming, but (nearly) all versions support rtsp streaming.
HLS should be your protocol of choice although it is not supported by legacy handsets such as Nokia and Blackberry. If you are creating native applications it is possible to use third party players supporting HLS and embed that in your application.

Does android support RTSP streaming using the HTML5 video tag?

I know that android supports RTSP streaming if you use the native video player, but I have not been able to find if you can stream video on Android using the HTML5 tag.
The real reason I want to figure this out is I will be using Apple HTTP Live Streaming to serve video to the iPhone using HTML5 and would like to keep things simple and be able to simply define another streaming video source for android.
Any help would be greatly appreciated! Thanks.
No, it doesn't work and probably never will. However, from Android 3.0, HTTP Live Streaming is supported.
I recommend you use a flexible media server such as Wowza. It can stream HLS as well as RTSP and RTMP(Flash) from a single source.

Server to stream RTSP to android

Can Flash Media Server 3.5 serve a video rtsp stream to the Android media player?
Or do we need to use Wowza or red5 to serve an rtsp stream to the Android media player rtsp client?
Are there any other rtsp servers to consider when the video needs to be viewed on Android (without the Adobe Flash app)?
Try darwin streaming server. This can stream MPEG-4 and 3GPP.
Note that Videoplayer in Android supports RTSP streaming as per 3GPP PSS Streaming specifications. i.e fileformat is 3GP/MP4 and the supported codecs are MPEG-4 Video, AVC, MPEG4 Audio, AMR, and H263.
One potential drawback with darwin is you need 3rd party tools to do hinting first.There are several free hinting tools. Definitely worth a try.
DarwinStreaming Server Link
FMS 3.5 does not support rtsp streaming.
I could manage to play a RTSP stream in Android 2.3 with HTML5 on default browser, no external app, no flash plugin.
<audio autoplay="autoplay" controls="controls" autobuffer="autobuffer" loop="loop">
<source src="rtsp://74.115.208.37:1935/live/luxweradio2_8403.stream" type="audio/mpeg" />
</audio>
I explain each part:
-I'm using the default Android browser (also worked in Dolphin)
-The loop="loop" part made the stream actually play continuously, without that I heard like 0.1 seconds of audio each time I clicked play. Is this a hack or what?
-The autoplay="autoplay" part works, it actually auto-plays after some seconds (no feedback like "loading..." though)
-The type="audio/mpeg" for me it seems like Android browser ignores that, I've tried others like video/3GPP (yes, video) and still worked!
-I'm not sure if autobuffer="autobuffer" actually does anythinhg 'cause it isn't part of the HTML5 audio tag definition, but I've seen so many "bad" things that work... I should test some cases with and without, but it's pretty late now here in Argentina :P
WOWZA 3 is able to serve the same stream in RTMP, HTTP and RTSP. I have it running it. It is publish as RTMP and delivered as RTMP, HTTP and RTSP at the same time.
See this:
http://www.wowza.com/forums/content.php?36#publish
Hope it helps.
My Media Server / library supports streaming to Android or any other compatible RtspClient.
http://net7mma.codeplex.com/
Check out the article on CodeProject # http://www.codeproject.com/Articles/507218/Managed-Media-Aggregation-using-Rtsp-and-Rtp
If you need anything else let me know!

Categories

Resources