URL Syntax

The following list shows the proper URL syntax to use to stream the supported protocols to multimedia players:

Protocol URL Syntax
Adobe Flash RTMP rtmp://<IP Address>:<Port>/<File Path> Example:rtmp://192.168.1.250:6969/vod/sample.mp4Note: RTMP requires files to be in a subfolder. This is normally described as the application. So if you place video files in the root of the Media folder (instead of the VOD subfolder), the URL still requires a subfolder. In this case, you can use "." or "_media_" subfolder. So if sample2.mp4 was in the media folder, you can use one of these two URLs:rtmp://192.168.1.250:6969/./sample.mp4 or rtmp://192.168.1.250:6969/_media_/sample.mp4
Adobe HTTP Dynamic Streaming (HDS) http://<IP Address>:<Port>/<File Path>/manifest.f4m Example:http://192.168.1.250:6969/vod/sample.mp4/manifest.f4m
Apple HTTP Live Streaming (HLS) http://<IP Address>:<Port>/<File Path>/playlist.m3u8 Example:http://192.168.1.250:6969/vod/sample.mp4/playlist.m3u8
MPEG-DASH http://<IP Address>:<Port>/<File Path>/manifest.mpd Example:http://192.168.1.250:6969/vod/sample.mp4/manifest.mpd
Microsoft Smooth Streaming (SSF) http://<IP Address>:<Port>/<File Path>/manifest.mpd Example:http://192.168.1.250:6969/vod/sample.mp4/manifest
RTSP/RTP rtsp://<IP Address>:<Port>/<File Path> Example:rtsp://192.168.1.250:6969/vod/sample.mp4
RTSP/RTP (MPEG-2 transport) rtsp://<IP Address>:<Port>/<File Path>/mp2t.sdp Example:rtsp://192.168.1.250:6969/vod/sample.mp4/mp2t.sdp
RTSP/RTP over HTTP rtsp://<IP Address>:<Port>/<File Path>/qt.sdp Example:rtsp://192.168.1.250:6969/vod/sample.mp4/qt.sdp Note: qt.sdp informs the server to adjust the B frame timestamps to avoid jerky playback in quicktime. If your video does not contain B frames, then the qt.sdp can be omitted.
HTML5 Video http://<IP Address>:<Port>/<File Path> Example:http://192.168.1.250:6969/vod/sample.mp4

See Also

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Media Streaming C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.