RTMP Streaming

HDW Player is still trying to better the Examples section. Mail your ideas to admin@hdwplayer.comThis email address is being protected from spambots. You need JavaScript enabled to view it.

Overview

RTMP (Real Time Messaging Protocol) is a system for delivering on-demand and live media to Adobe Flash applications (like the HDW Player). RTMP supports video in FLV and H.264 (MP4/MOV/F4V) formats and audio in MP3 and AAC (M4A) formats.

RTMP offers several advantages over regular HTTP video downloads:

  • RTMP can do live streaming.
  • With RTMP, viewers can seek to not-yet-downloaded parts of a video.
  • Videos delivered over RTMP are harder to steal than videos delivered over regular HTTP.

Required Properties

type - rtmp
streamer - Server path
video - Stream Name.

Streamer (or) Server path should be formatted as, rtmp://mydomain.com/live
rtmp - Protocol
mydomain.com - Streaming server Domain Name (or) IP Address
live - Name of the Application that is used for content delivery

Code

 

<html>
<head>
	<title>Sample Integration</title>
	<script src="player/js/hdwplayer.js"></script>
</head>
<body>

<div id="player"></div>

<script>
hdwplayer({ 
	id        : 'player',
	swf       : 'player/player.swf',
	width     : '705',
	height    : '400',
        type      : 'rtmp',
        streamer  : 'rtmp://edge01.fms.dutchview.nl/botr',
        video     : 'bunny.flv',
        autoStart : 'true'
});
</script>

</body>
</html>

 

Example

Support