rtmp Protocol
The RTMP protocol packet consists of a header and a package, and the header can be any of 4 lengths: 8, 4, 1 byte (s). The full rtmp header should be 12bytes, containing timestamps, amfsize,amftype,streamid information, The 8-byte header only records timestamps, Amfsize,amftype, and other bytes of header record information in turn. The maximum leng
RTMP (Real time Messaging Protocol) is a common streaming media protocol, used to transmit audio and video data, combined with flash, widely used in live, on-demand, chat and other applications, as well as PC, mobile, embedded and other platforms, is to do streaming media development often come into contact with the protocol. I have previously written an article, "rtmp protocol to send H. E encoding and AAC
RTMP (Real time Messaging Protocol) is a common streaming media protocol, used to transmit audio and video data, combined with flash, widely used in live, on-demand, chat and other applications, as well as PC, mobile, embedded and other platforms, is to do streaming media development often come into contact with the protocol. I've written an article before.RTMP protocol sends H. ENCODE and AAC encoded audio and video"briefly describes how to use the
format, and the result was shocking:The above test.264 size is 6.2M, converted to. yuv format after the size of 1.6G, really took a surprise. It's too compressed.2. Test the performance of the streaming media serverThe most critical place to be, success or failure stake.(1) Open Nginx[Email protected]:/data/misc/nginx-rtmp/sbin #./nginx-p/data/misc/nginx-rtmp-c conf/nginx.conf(2) FFmpeg push to Nginx[Email
media server
Connecting to a Red5 streaming media server
If 19:56:05:873-netconnection.connect.success appears on the right, Red5 starts normally and can connect
c), releasing a red5 stream
Create a Red5 stream
Why choose audio instead of video because the computer doesn't have a camera. Point start appears with the following contents
Red5 Flash Licensing
When you select Allow, after clicking Publish, if the 20:04:
How does Android broadcast RTMP streams?On android, live video/audio streams are a small part of attention. Every Time we discuss streaming media, RTMP (Real Time Messaging Protocol) is indispensable. RTMP is a basic live video/audio stream protocol, but unfortunately Android-standard videoView does not support RTMP pl
This article outlines:Nginx is a very good open source server, use it to do HLS or rtmp streaming media server is a very good choice. This paper introduces a simple method to quickly set up rtmp streaming media server, also known as RTSP retransmission, the data source is not read files, but use to obtain rtspnal stream after using FFmpeg retransmission. CSDN: [Email protected]Development environment: cento
On Android, video/audio streaming is a very rare part of the spotlight. RTMP (Real time Messaging Protocol) is indispensable whenever we discuss streaming media. RTMP is a basic video/audio streaming protocol, but unfortunately Android standard Videoview does not support rtmp playback. Therefore, if you want to play rtmp
=====================================================
The simplest example series based on Librtmp is a list of articles:
Simplest LIBRTMP-based example: Receive (rtmp saved as FLV)
Simplest LIBRTMP-based example: Publish (FLV is released via RTMP)
Simplest LIBRTMP-based example: release of H. (H. rtmp Post)
=====================================================
T
I. Configuring HLS in the Rtmp module of the Nginx configuration fileHls_key_path/tmp/hlskeys;Prompt for error message:the same path name "/data/hlskeys" used in/usr/local/nginx/conf/nginx.conf:178 and in/usr/local/nginx/conf/ nginx.conf:178Workaround:View official RTMP Source code:nginx-rtmp-module / HLS /ngx_rtmp_hls_module.c Ngx_conf_merge_str_value (conf->
rtmp Live application and delay analysis
Original address: https://github.com/ossrs/srs/wiki/v1_CN_LowLatency Author: Winlin
Related articles:Take you thoroughly understand rtmpSome considerations for implementing RTMP protocol with live push streamingHow the live platform uses rtmp for low latency video streamingRTMP protocol analysis and interaction processIn l
Pre-readiness to understand RTMP definition readiness Rtmpdump in LIBRTMP using the Libssllibcrypto push flow work overall framework diagram in OpenSSL use the LIBTRMP provided API to package streaming into rtmp format Advanced rtmp Client and RTMP server interaction process Rtmpdump Source Analysis handshake handsshak
From//http://blog.chedushi.com/archives/6532?utm_source=tuicool
Using Nginx to build a streaming media server with HTTP and rtmp protocols
Experimental Purpose:
Allows Nginx to support FLV and MP4 format files while supporting RTMP protocol while opening the HLS function of rtmp
Information:
HTTP Live Streaming (abbreviated as HLS) is an HTTP-based streaming ne
One: RTMPRTMP Streaming protocol is a set of Adobe developed audio video real-time transmission protocol;Two: Nginx-rtmpNginx-rtmp is an nginx-based rtmp service module, open source, freeHttps://github.com/arut/nginx-rtmp-moduleThree: Installation process in Ubuntu Server 141. Download the installation nginx and nginx-rtmp
=====================================================
The simplest example series based on Librtmp is a list of articles:
Simplest LIBRTMP-based example: Receive (rtmp saved as FLV)
Simplest LIBRTMP-based example: Publish (FLV is released via RTMP)
Simplest LIBRTMP-based example: release of H. (H. rtmp Post)
=====================================================
The simplest example based on librtmp: Release H.264 (H.264 via RTMP), librtmprtmpThis article records a program that publishes the H.264 code stream based on libRTMP. This program can publish H.264 data to the RTMP Streaming Media Server. The current example is not very stable, and the next step is to be modified.
This program uses the callback function as the input. Through the custom callback function, y
RTMP Request General format is rtmp://domain name/app/file such as Rtmp://fantefei.blog.51cto.com/fantefei/3.mp4 so it can play, but rtmp:// Fantefei.blog.51cto.com/fantefei/mp4:v/abc/3.mp4 or RTMP://FANTEFEI.BLOG.51CTO.COM/FANTEFEI/MP4:/V/ABC/3. What format is MP4?In genera
Video live streaming is the RTMP protocol for video real-time transmission, where the software we use is the Adobe Company'sOne is: Flash media Server4 Another is Flash media Live encoderBoth of these software:http://pan.baidu.com/share/link?shareid=256521uk=1711305891Installation and construction of Flash Media Server4 see:use Ckplayer and FMS to build rtmp video applicationsConnection: Http://www.ckplayer
I. PreambleCore: Server (Nginx-rtmp-module) + push-to-stream (OBS) + Accept-end (Jwplayer)Second, the service side 1. Download Nginx-rtmp-module ModuleAddress: Https://github.com/arut/nginx-rtmp-module2. Compile and install NginxCD./nginx-1.10.0/./configure--add-module=/path/to/nginx-rtmp-module--with-http_ssl_modulema
Nginx itself is a very excellent HTTP server, FFmpeg is a very good audio and video solutions. These two things can be set up by a nginx module Nginx-rtmp-module, a relatively perfect streaming media server.This streaming media server can support RTMP and HLS (Live Http Stream)Starting from InstallationNginx installation refer to my previous one: http://redstarofsleep.iteye.com/blog/2010391The difference is
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.