1. Compile nginx that can be used in android and add the option -- add-module =/path/nginx-rtmp-module, prepare ffmpeg files and related library files that can be used by shell on android and m3u8 segmenter files.2. Put the compiled nginx files in the data/android. nginx directory of the mobile phone to this directory.3. Compile the configuration file--------------------------------- Nginx. conf start here ---------------------------------------------
1.MediaPlayer and Videoview IntroductionThe Android system provides developers with multimedia applications (audio and video)One, MediaPlayer,Decoding is the bottom, MediaPlayer is responsible for dealing with the bottom, encapsulated a lot of methods Start,pause,stop, play the video classThis mediaplayer can play local and network audio and video playback network resources when the Internet access rights1, execution process2. Video supported formats mp4,3gp,.
, similar to the Jane book App
93.android-gif-drawable
A GIF-enabled view, implemented with JNI, compiles and generates so libraries directly after the XML definition view, simple and easy to use
94.VitamioBundle
Vitamio is an all-in-one multimedia development framework on Android and IOS, featuring: (1) Full support for hardware decoding and GPU rendering, (2) smooth playback of 720P or even 1080P HD MKV, FLV, MP4, MOV, TS, RMVB Common formats such as video
Vitamio is an all-in-one multimedia development framework on Android and IOS platforms that supports both hardware decoding and GPU rendering.Vitamio powerful, smooth playback of 720P or even 1080P HD MKV,FLV,MP4,MOV,TS,RMVB and other common formats of video, can also be on Android and IOS cross-platform support MMS, RTSP, RTMP, HLS (m3u8) A variety of common video streaming protocols, including on-demand and live streaming.Download for 1VitamioOffici
remote network management controlHigh reliability design, stable operationAfter the IP network satellite receiver will actively push the TS over UDP spts (unicast program stream), then how to connect the UDP stream to rtmp into the streaming media server live system ?The answer is 800Li external signal adapter software !Characteristics:1 transfer various network protocols including RTSP, RTMP, Http,udp,mms etc into RTMP protocol;2 actively push to the streaming media server peer live system (su
into small HTTP-based files to download, one at a time. When media streaming is playing, clients can choose to download the same resources at different rates from many different alternative sources, allowing streaming media sessions to accommodate different data rates. When you start a streaming session, the client downloads a extended m3u (m3u8) playlist file that contains metadata to find the available media streams.Client Support
iOS star
original URL is opened at different times. Old method, the original URL is opened again in the new tab, compared to two open request URL. The comparison process of the request URL parameter is omitted, and the result of the parameter comparison is as follows:You can see that each time you open, both the PSID and Vkey parameters are variable and represent what is unknown. The request URLs of different video segments at the same time are also changed on the Ts_start, Ts_end, ts_seg_no parameters,
/NBSP 2. Live test address: hls:http://live.3gv.ifeng.com/live/hongkong.m3u8 Phoenix Satellite television Hong Kong Smtp:rtmp://live.hkstv.hk.lxdns.com/live/hks Hong Kong satellite TV rstp:rtsp://rtsp.vdowowza.tvb.com/tvblive/ Mobileinews200.stream Interactive news station 1NBSP 3. HLS streaming tools download, for processing m3u8 audio, video source HLS streaming Tool Download 4. Live related SDK 1). Videocore in the Sina Cloud has document
media sessions to adapt to different data rates. When you start a streaming session, the client downloads a extended m3u (m3u8) playlist file that contains the metadata to find the available media stream. Reference article: Audio and video HTML https://developer.apple.com/library/safari/documentation/AudioVideo/ Conceptual/using_html5_audio_video/audioandvideotagbasics/audioandvideotagbasics.html#//apple_ref/doc/uid/ TP40009523-CH2-SW6 "Creating
One, video.js video playback
Github:https://github.com/videojs/video.js
Base code:
var player = Videojs (' My-player ', options, function Onplayerready () {
videojs.log (' Your player is ready! ');
In the, "This" is the player of that being created by Video.js.
This.play ();
How about an event listener?
This.on (' Ended ', function () {
videojs.log (' Awww...over so soon?! ');
});
Turn on AutoPlay (support for Android, IOS, PC):
Second, Videojs-contrib-hls li
stream into small HTTP-based files to download, one at a time. When media streaming is playing, clients can choose to download the same resources at different rates from many different alternative sources, allowing streaming media sessions to accommodate different data rates. When you start a streaming session, the client downloads a extended m3u (m3u8) playlist file that contains metadata to find the available media streams.
Client Support
i
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.