Adobe RTMP stands for Real Time Message Protocol, which is the basic feature of SRS(Simple RTMP Server).
For more information about protocol of SRS:
RTMP the first supported video stream for flash, and the best realtime stream on PC flash:
SRS live streaming use RTMP as kernel protocol.
SRS vod streaming is in plan and use HTTP protocol.
RTMP is the acient and the first video streaming protocol supported by flash, which is MacroMedia flash player, then rename to Adobe Flash player. Few lines code to play the RTMP stream:
var conn = new NetConnection();
var stream = new NetStream(conn);
var video = new Video();
this.addChild(video);
video.attachNetStream(stream);
conn.connect("rtmp://192.168.1.170/live");
stream.play("livestream");
Config SRS to support RTMP:
listen 1935;
max_connections 1000;
vhost __defaultVhost__ {
}
Start server: ./objs/srs -c conf/rtmp.conf
Use encoder, for instance, FMLE to publish RTMP stream. FMLE use FMS URL
to input the vhost/app, and the Stream
to input the stream name:
# For RTMP url: rtmp://192.168.1.170/live/livestream
FMS URL: rtmp://192.168.1.170/live
Stream: livestream
The RTMP url, see: RTMP URL&Vhost
The deploy sample, see: Usage: RTMP
The FMLE publish example:
User can use flash player or vlc to play RTMP stream, for example, the RTMP url: rtmp://192.168.1.170/live/livestream
The latency of RTMP is in 1-3s, the config see: Low Latency
Winlin 2014.11
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。