Wowza Media Server Live Video Streaming Delay for IOS devices? - android

Wowza Media Server running Live Video Streaming.
When I view the live video using RTMP and HLS streaming using wowza examples which has live video players for Flash and IOS. I am able to view video for both but whenever the camera is moved rtmp url shows live video without any delay but HLS stream shows the delay of 10 seconds.
Then I tried running a 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 the camera moves there is a delay of 25 seconds while viewing the live video on IPad.
Can someone please let me know what configuration needs to be done on Wowza Server Side to reduce this delay in Live video streaming for IOS devices?
And also can someone please advice any other player other then HTML Video tag for cordova application?

Three chunks are required by iOS devices for streaming to begin. Each chunk is set to 10 seconds by default.If you use a keyframe interval of 1 frame per second you can lower the cupertinoChunkDurationTarget to 1 second(1000) and get the latency down to closer to 3 seconds.
Please check here for more : http://www.wowza.com/forums/content.php?88-Cupertino-Streaming-segmenter-parameters-%28iOS

Related

Multiple HTML5 videos on TV kiosk

I am building an application using electron.js that runs a socket server on a local network.
The idea is that the socket server sends messages to connected clients to dynamically load multiple html5 videos in a browser on a smart TV.
The videos are small demonstration videos and need to autoplay and loop.
There can be up to 12 videos playing at once on one device.
The problem that I am experiencing is that I cannot get smooth playback of the videos or not all videos will play.
I have tried the following with 12 videos:
Native Smart TV browser. Result: Only plays 3 videos and playback is ok
Chormium Browser on Raspberry Pi 3. Result: Can play all 12 videos but playback is choppy. Forcing hardware acceleration crashes the browser
Chrome Browser on Quad core Android box. Result: Can only play 6 videos and playback is good
ionic cordova app on Android Box. Result: Can only play 6 videos and playback is good
react-native app on Android Box. Result: Can only play 6 videos and playback is good
My question is, what are my limitations or possible solutions?
Am I limited by hardware or is there something I can do in my application builds that may resolve the issue?
It is worth pointing out that on my desktop chrome browser, all 12 videos play without any problem but this is not an option for me because they need to run on the TV.
Edit: It is worth mentioning I am using mp4 video
I am going to answer this myself to help others if they come across the same issue.
I ended up installing ffmpeg and encoded webm video instead of mp4 and could get all 12 videos playing.
Then by reducing the bitrate, I was able to get all 12 videos playing at the same time on the mini PCs at an acceptable quality.

RTSP Player Live Stream Android App

I'm trying to develop an android app that allow streaming video from the IP Camera. I finally got the video from the IP camera to display on the app using videoview with mediacontroller but it seem to have some drawbacks. Please help me, thank you!
The functionalities that I need improve:
1) Reduce the playback delay between the camera and video display on the app
2) Record live stream, allowing to view the playback 10 seconds before to 10 seconds after.

android stream real time video to streaming server

I am trying to develop a half duplex chat application where one android device will capture video from cam and send this real time video stream to server.
Thereafter, another android device is capturing the same video stream from the streaming server and rendering the video on screen.
I successfully did this using WebRTC API, Vitamio API and wowza streaming server.
But, this method is resulting in a very poor video quality at receiver's end with poor video quality and huge latency even on fast working LAN. Moreover the device heatup problem is also comming into existance.
Please tell me any other method to achieve the same.
Does youtube provide any facility to broadcast the real time video stream.
Is there any other free service that enables us sending video stream to the server from android device (as i have done in my application).

Unable to play live video using HTML video tag

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/

How to make flash content to work on mobile devices?

I've seen that some websites that offer video playing services have made their videos work on Android phones, while others dont. Those that work are being opened using the phone's Video Player or other apps such as MX Player.
How can I do this on my website? I know that there is the HTML5 alternative but for some reason I can't implement that.
Thanks!
There are a few options to stream videos to mobile browsers:
HLS (HTTP Live Streaming) for Apple devices
H.264 encoding
Streaming server e.g. Wowza
WebM streaming to Androids and other devices
Browser support in Chrome, Firefox, Opera, Android browser
VP8 encoding
Streaming server e.g. stream-m
MotionJPEG
Works for non-audio videos
Works on almost all devices
Choppy playback, as there is no inter-frame compression
Flash Player
Only few mobile devices, market share steadily vanishes
Supports streaming or progressive download
Streaming server e.g. Wowza or Red5
If your video must not necessarily play back in the browser, you can also just provide a download link to your video. Please note that you won't profit from streaming features like seeking and saving bandwidth for unplayed parts of the video then. In any case, you need to encode your video in different bitrates/codecs to be able to target all devices.

Categories

Resources