Want to develop live stream tv app for android and ios using phonegap. For this purpose i am using license jwplayer for streaming video. Here i am using RTMP url and player is working well in browser. But show error in android and ios.
RTMP is a Flash protocol. There is no Flash on any mobile device. You need to use HLS for streaming to a mobile device.
Related
Is it possible to stream a live video feed from the camera of an android phone. I haven't seen any information on Microsoft's website regarding the possibility of live streaming from an android phone.
Azure Media Services supports RTMP ingest. There are open source RTMP libraries for Android. You can build a capture and stream app using this libraries.
Unfortunately we don't provide a capture SDK at the moment.
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.
Wowza Media Server running Live Video Streaming.
When I view the live video using RTMP and HTTP streaming using wowza examples which has live video players I am able to view video for all.
I am also able to run mobile application using cordova(phonegap) for ios devices. I am using HTML video tag in cordova application and I am able to view live video on IPad simulator using HLS streaming but whenever I try to run the same application using android simulator I am not able to view video.
Can someone please let me know what player should be used to run the application in android devices so that I can be able to view the video for Android devices?
Online search has proved that android supports HTML video tag and it should be able to play the HLS stream but when I tried it does not support.
What video player to use for Android?
And which stream type to use for Android?
Thanks
I think this is the best Compatibility chart: http://www.projekktor.com/compatibility/
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).
We have developed video streaming applications for Android and iOS. In this application user can publish video and can view live streams as well. App is working fine from iOS to iOS but can not play on Android. If we publish from Android then it plays on Android, RTMP flash player but not on iOS.
From iOS we are publishing video in H.264 format and Android supports H.264 then why it's not playing on Android?
I can only guess, but It could be a problem with file extension. iOS may expect *.m4v and I'm not sure if the Android can manage it. Also check this topic, it may help you: What h.264 format loads on android AND IOS?