Real-Time Messaging Protocol (RTMP) is a protocol for streaming audio, video, and data over the Internet. After Adobe acquired the company that created RTMP, Macromedia, they released a partial version for public use. Like a lot of source code released to the public, Real-Time Messaging Protocol has multiple variations one of which is RTMPT – encapsulated within HTTP requests to travel through firewalls. This article will show you how to implement Flowplayer RTMP streaming.
Source Code
flowplayer("player1", "flowplayer/flowplayer-3.2.1-dev.swf", {
clip: {
url: 'vod/ZONE.ALIAS/video.flv',
autoPlay: false,
provider: 'rtmp'
},
plugins: {
rtmp: {
url: 'flowplayer/flowplayer.rtmp-3.2.0.swf',
netConnectionUrl: 'rtmpt://r.ZONE.ALIAS.netdna-cdn.com/play'
}
}
});
With Splash Screen
flowplayer("player2", "http://releases.flowplayer.org/swf/flowplayer-3.2.7.swf", {
clip: {
url: 'vod/ZONE.ALIAS/video.flv',
autoPlay: false,
provider: 'rtmp'
},
plugins: {
rtmp: {
url: 'http://releases.flowplayer.org/swf/flowplayer.rtmp-3.2.3.swf',
netConnectionUrl: 'rtmpt://r.ZONE.ALIAS.netdna-cdn.com/play'
}
},
canvas:{background:'#000000 url(http://flash.flowplayer.org/media/img/title/screens.png) no-repeat 30 10'}
});
If you have any questions or experience any issues, please reach out to the Support Team, live chat and ticket support are available 24/7.