Discover plex media server for android, include the articles, news, trends, analysis and practical advice about plex media server for android on alibabacloud.com
I. Server Side
Based on Feng Add an open-source Streaming Media Server Web server, Used to receive the video data uploaded by the client, and then RTSP/RTP Live broadcast to mobile terminals
Ii. Client Applications
1. Introduction Client Applications are mainly based on
sensorservice: instantiate ();
75
76 // on the simulator, audioflinger et al don't get started
77 // same way as on the device, and we need to start them here
78 If (! Proc-> supportsprocesses ()){
79
80 // start the audioflinger
81 audioflinger: instantiate ();
82
83 // start the media playback Service
84 mediaplayerservice: instantiate ();
85
86 // start the camera service
87 cameraservice: instantiate ();
88
89 // start the audio Policy Service
90
Android binder Mechanism 2 (client and common server), androidbinder
Before talking about the communication between them, let's take MediaServer as an example to see what common Server processes are doing.
Int main (){...... // Obtain the ProcessState instance sp
Defaservicservicemanager () has been introduced in the previous article.MediaPlayerService: instan
In Android, file upload is actually very simple. It is the same as in java. Basically, it is familiar with the operation output stream and input stream! Another important thing is to configure some parameters of content-type! If all of these are done, the upload will be simple. The following is a tool class for uploading: package com. spring. sky. image. upload. network; import java. io. dataOutputStream; import java. io. file; import java. io. fileIn
With VLC built a streaming media server, on the local side to open the network stream and there is no problem, when the Android link is in option when the failure, connection time out, in addition to build VLC RTSP server does not have any problems, On other machines, the same construction method can play normally, thi
Server PHP Program file_up.phpfunctionuploadfilebinary () {$this-InitData (); $absoluteName= ""; $fid= ""; $handleWrite=NULL; if(!Empty($GLOBALS[' Http_raw_post_data ']) strlen($GLOBALS[' Http_raw_post_data ']) >0) { if(!Empty($this-GT;FID))//FID exists is then last uploaded $fid=$this-FID; Else //FID does not exist, as the first upload, generates a FID $fid= Time().‘ _‘.Mt_rand(1,22222).
, rectangles, can draw them directly onto the screen. Android.location: Classes for targeting and related services Android.media : Provides some classes to manage a variety of audio and video media interfaces Android.net: Provides a class to help network access, exceeding the usual java.net.* interface Android.os: Provides system services, message transmission, IPC mechanisms Android.opengl : Provides OpenGL tools Android.provider: Provides class acce
FFmpeg is a powerful media library. It provides ffserver tool that can be used to setup a streaming server.Here is how to compile FFMPEG for Android, using codesourcery's cross compiler. 1. Download and extract FFMPEG source code.2. Use below commands to compile FFMPEG./Configure -- arch = arm -- Cross-Prefix = arm-None-Linux-Gnueabi--- extra-ldflags =-static # -- extra-cflags =-staticMake 3. run file f
After a week of hard work, this small project, written by friends, finally had a simple model and implemented simple basic functions, Write a project summary here to summarize the problems encountered.
To facilitate future use. The problems encountered in the project are the sharing and splicing of programs through the network !! I would like to express my special thanks to those selfless experts. Cainiao would like to thank you !!
Communication tool TCP/IP
Program functions:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.