need some advices when making a streaming application - android

I'm developing an app on android that can play videos streamed from a server (my PC) likes youtube. I'm new to this and I need some advices to get a right approach.
First, my app on android should have the ability to seek to a position that have been played. So, in the server side (my PC), what streaming server should I use?
Do I need to combine the streaming packets into a temporary file and play on this file in order to get seek-back?

Related

Stream multiple langauges audio from a playing video on a local live-streaming server

I have a case where I need to have a video being played repeatedly (looped) on a server (that video is being showed on a connected screen) and a client on the same wireless network that can get the current playing video audio stream/s in-sync with video that is being played on the server (the video may have multiple languages or could be linked with multiple audio files that needs to be streamed in-sync to that playing video).
Is there a Nodejs package or a library that I can use to achieve this scenario? and a streaming protocol/server that is easy to use or program those features in the client without too much hassle with the sync and stream?
I'm looking for support on the client side for mobile devices (preferably browser dependent) that can get the stream with Javascript (which is the simpler for me) or something else and potentially run as an full-screen app on the mobile device.
My plan is to have an app on mobile devices where a user can chose a language and video playing on screens to listen to in-sync with the video, like choosing a channel where they can connect to and listen to the audio of that video over the wireless network, So I'm looking for a way or a solutions to program this.
Thanks!

Getting surveillance camera footage streamed to phone

I am studying computer programming, but I feel that at school we are doing only stuff that work on a computer without having any connection to the outside world and it isn't all that interesting, so I gave myself a challenge. I want to make a program that streams footage from a surveillance camera to a phone. It seems a bit of a long shot, but I want to try. The thing is that, as I said, at school we are doing pretty basic stuff and with a project like this I have no idea how to even begin. A simple Google search didn't help at all.
I know how mobile apps are made, but I have no idea how to connect such devices.
Any ideas?
I have experience only in RTMP streaming so I am going to explain what I did then.As far as I know, there are 3 components required for streaming in RTMP:
The source - a device with the webcam that is going to generate the video streams. You might need to learn flash scripting language called ActionScript 3 and Flex to write an application that will help you to send stream to a server.
The Media Server- The source device sends its stream to the media server (in some cases, the media server is the source). You can easily do this with action script after you set up your server. If you want to have a local media server then you can install RED5 media server which is based on Java and is open-source.
Client Application- The client application can be a mobile application or a flash based web application which will connect to your media server for the stream and will display it on the client's device.Even this can be written in ActionScript/Flex.
Here is a tutorial on how you can download and setup Red5 media server:
http://www.technogumbo.com/tutorials/Red5-Media-Server-Development-Setup-Tutorial/Red5-Media-Server-Development-Setup-Tutorial.php
You'll need to learn ActionScript / Flex for client side application and some bit of Java for server side.

asynchronous video playing/live streaming from mobile to desktop via usb

I searched a lot over the web for the below requirement but didn't get any sample code or correct solution.
Basically I want to connect my android mobile to a linux desktop via USB and want to live stream a video that i play in my mobile(i m gonna use video view that loads a video from a weblink/assets folder).
if I play a video from my mobile that should be get played on desktop at the same time.
I would be grateful if u provide an API or source code with example/reference links.

how to stream audio from server to an android app

I own a website with bunch of mp3 files - here
I would like to create a radio (audio stream) on the server and an android app that will play the stream on many android devices.
Can anyone help me with the architecture (server side and android side)? Are there any ready-made open source solutions that can facilitate the development/implementation?
my website runs on the LAMP stack (Debian)
I would like the users of the android app to be able to influence the playlist - I would like to display about 3-5 randomly chosen songs in the android app and give the app users the ability to vote which song out of those 3-5 random ones will play next (poll/voting)
You require two things:
i) Streaming server which is not difficult to search.
ii) Player at Android app capable of playing Streaming audio and/or video if applicable.
VideoLAN (VLC) player is most used for this purpose. You can import their SDK and use as per your requirement.
See VLC Git wiki page for SDK information.

Live-streaming on Android with HTML5 or an Application

I want to create a live-stream by using vlc on rtp, (preferably) rtsp or http protocols and I want to play this stream with android 2.3.4 based cell phone. I have tried starting from scratch and tried to advance step by step. I have created an html5 based offline streaming page, and it worked. However, I have some trouble with live streaming issues. I have noticed that live-streaming with html5 will be painful. So, I wanted to get the stream directly from vlc.exe to the media player on the phone. However, I couldn't decide what to do because vlc for android is in development right now, and couldn't find a suitable player which allows me to enter the address of the vlc server.
What should I do? Should I continue trying on html5, or should I try to find a suitable application for rtsp streaming on android? Should I try Wowza or another service? (BTW, I don't want to mess with socket stuff on the server side.)
I have solved this problem by streaming the content from vlc on rtsp from the PC and created a very basic html page which gives only a link to the rtsp stream. Then, I clicked the link from that html page using the phone (actually I can carry out this step by simply writing the ip address of the server to the streaming player on the phone also) and it forwarded me to choose an external media player to play the content. In this step, choosing any streaming media player (RealPlayer, MX Player etc.) can be used to play this content. There we go! We have a live-streaming from PC to Android :)

Categories

Resources