Media Streaming SDK Example Programs and Demos

The following demo programs are in separate EXAMPLES subdirectories of the path where you installed your product (such as C:\LEADTOOLS23\Examples\).

The executable files for these examples were compiled with all LEADTOOLS capabilities unlocked. However, for redeployment, some of these capabilities require product-specific unlock keys. Otherwise, if you recompile the examples, the resulting executable files will not have the locked capabilities.

To unlock and redeploy these capabilities, you must purchase an appropriate product license, such as that included with a LEADTOOLS Document/Medical toolkit.

The following demos are available:

MediaStreaming\CPP
C#.NET
HTML

MediaStreaming\CPP

Demo Name Source Code Path Pre-Compiled Executable Path Description
Media Streaming Server Log Viewer \Examples\Multimedia\MediaStreaming\CPP\LogViewer \Bin\CDLL\<Win32/Win32/x64/x64>\ltmsLogViewer.exe

This demo provides a simple viewer for the LEADTOOLS Media Streaming Server's logfiles.

Demo Name Source Code Path Pre-Compiled Executable Path Description
Media Streaming Server \Examples\Multimedia\MediaStreaming\CPP\Server \Bin\CDLL\<Win32/Win32/x64/x64>\ltmsServer.exe

This demo provides both a standalone implementation of the LEADTOOLS Media Streaming server and a UI for configuring the Media Streaming Server Service implementation.

  • The Media Server can be used to stream audio and video files to a variety of devices using popular streaming methods, such as:
    • HTML5 video - for most web browsers (PC and mobile devices)
    • Adobe Flash RTMP - for any web browser that has Adobe Flash installed
    • Apple HTTP Live Streaming (HLS) - for Apple iPad / iPhone and Android devices
    • RTSP/RTP - for web browsers with the Apple Quicktime or VLC RTSP plugin installed or any application that supports RTSP
    • RTSP/RTP (MPEG-2 transport) - for web browsers with Apple Quicktime or VLC RTSP plugin installed or any application that supports RTSP
    • RTSP/RTP over HTTP - for web browsers with Apple Quicktime or VLC RTSP plugin installed or any application that supports RTSP
    • Adobe HTTP Dynamic Streaming (HDS) - for most web browsers that have Adobe Flash installed
    • MPEG-DASH - for most web browsers that have Adobe Flash
    • Microsoft Smooth Streaming (SSF) - for web browsers with Microsoft Silverlight installed
  • For information on configuring and running the LEADTOOLS Media Streaming Server, click here.
  • For more information about the LEADTOOLS Media Streaming SDK, click here.
Demo Name Source Code Path Pre-Compiled Executable Path Description
Media Streaming Server Service \Examples\Multimedia\MediaStreaming\CPP\ServerSvc \Bin\CDLL\<Win32/Win32/x64/x64>\ltmsServerSvc.exe

Implements a Windows service (with no UI) using the LEADTOOLS Media Streaming SDK to create a media streaming server.

  • The Media Server can be used to stream audio and video files to a variety of devices using popular streaming methods, such as:
    • HTML5 video - for most web browsers (PC and mobile devices)
    • Adobe Flash RTMP - for any web browser that has Adobe Flash installed
    • Apple HTTP Live Streaming (HLS) - for Apple iPad / iPhone and Android devices
    • RTSP/RTP - for web browsers with the Apple Quicktime or VLC RTSP plugin installed or any application that supports RTSP
    • RTSP/RTP (MPEG-2 transport) - for web browsers with Apple Quicktime or VLC RTSP plugin installed or any application that supports RTSP
    • RTSP/RTP over HTTP - for web browsers with Apple Quicktime or VLC RTSP plugin installed or any application that supports RTSP
    • Adobe HTTP Dynamic Streaming (HDS) - for most web browsers that have Adobe Flash installed
    • MPEG-DASH - for most web browsers that have Adobe Flash
    • Microsoft Smooth Streaming (SSF) - for web browsers with Microsoft Silverlight installed
  • The Media Streaming Server Service can be configured using the UI created by the Media Streaming Server demo.
  • For information on configuring and running the LEADTOOLS Media Streaming Server, click here.
  • For more information about the LEADTOOLS Media Streaming SDK, click here.

C#.NET

For the demos complete list, refer to Leadtools.Multimedia Sample Programs section.

HTML

Demo Name Pre-Compiled Executable Path Description
LEAD HTML Media Player \Examples\Multimedia\MediaStreaming\JS\Server\Media\player.html

Main HTML page launched by the executable server demos. It contains a menu to all the demos listed below.

Demo Name Pre-Compiled Executable Path Description
Universal Player \Examples\Multimedia\MediaStreaming\JS\Server\Media\universal.html

Video on demand version of a player that automatically switches the streaming protocol based on the browser and operating system capabilities.

Demo Name Pre-Compiled Executable Path Description
Apple HLS Player \Examples\Multimedia\MediaStreaming\JS\Server\Media\hls.html

Video on demand version of a player using the Apple HTTP Live Streaming protocol.

Demo Name Pre-Compiled Executable Path Description
HTML5 Player \Examples\Multimedia\MediaStreaming\JS\Server\Media\html5.html

Video on demand version of a player using HTML5 video tags.

Demo Name Pre-Compiled Executable Path Description
MPEG DASH Player \Examples\Multimedia\MediaStreaming\JS\Server\Media\mpd.html

Video on demand version of a player using the MPEG DASH protocol.

Demo Name Pre-Compiled Executable Path Description
Adobe RTMP Player \Examples\Multimedia\MediaStreaming\JS\Server\Media\rtmp.html

Video on demand version of a player using the Adobe RTMP protocol.

Demo Name Pre-Compiled Executable Path Description
Microsoft Smooth Streaming Player \Examples\Multimedia\MediaStreaming\JS\Server\Media\ssf.html

Video on demand version of a player using the Microsoft Smooth Streaming protocol.

Demo Name Pre-Compiled Executable Path Description
RTSP/RTP Player \Examples\Multimedia\MediaStreaming\JS\Server\Media\rtsp.html

Video on demand version of a player using the RTSP/RTP protocol.

Demo Name Pre-Compiled Executable Path Description
Adobe HTTP Dynamic Streaming Player \Examples\Multimedia\MediaStreaming\JS\Server\Media\hds.html

Video on demand version of a player using the HTTP Dynamic Streaming protocol.

Demo Name Pre-Compiled Executable Path Description
Live Universal Player \Examples\Multimedia\MediaStreaming\JS\Server\Media\live-universal.html

Live streaming version of a player that automatically switches the streaming protocol based on the browser and operating system capabilities.

Demo Name Pre-Compiled Executable Path Description
Live Apple HLS Player \Examples\Multimedia\MediaStreaming\JS\Server\Media\live-hls.html

Live streaming version of a player using the Apple HTTP Live Streaming protocol.

Demo Name Pre-Compiled Executable Path Description
Live MPEG DASH Player \Examples\Multimedia\MediaStreaming\JS\Server\Media\live-mpd.html

Live streaming version of a player using the MPEG DASH protocol.

Demo Name Pre-Compiled Executable Path Description
Live Adobe RTMP Player \Examples\Multimedia\MediaStreaming\JS\Server\Media\live-rtmp.html

Live streaming version of a player using the Adobe RTMP protocol.

Demo Name Pre-Compiled Executable Path Description
Live Microsoft Smooth Streaming Player \Examples\Multimedia\MediaStreaming\JS\Server\Media\live-ssf.html

Live streaming version of a player using the Microsoft Smooth Streaming protocol.

Demo Name Pre-Compiled Executable Path Description
Live RTSP/RTP Player \Examples\Multimedia\MediaStreaming\JS\Server\Media\live-rtsp.html

Live streaming version of a player using the RTSP/RTP protocol.

Demo Name Pre-Compiled Executable Path Description
Live Adobe HTTP Dynamic Streaming Player \Examples\Multimedia\MediaStreaming\JS\Server\Media\live-hds.html

Live streaming version of a player using the HTTP Dynamic Streaming protocol.

[1] The LEAD Media Server and the LEAD Media Service Manager EXEs are built by the same C++ project (found in Examples\Multimedia\MediaStreaming\CPP\Server). The project has different configurations, allowing you to build the Media Server or the Media Service Manager demo.

[2] The LEAD Media Server and the LEAD Media Service Manager EXEs are built by the same C# project (found in Examples\Multimedia\MediaStreaming\DotNet\ServerDemo). The project has different configurations, allowing you to build the Media Server or the Media Service Manager demo.

See Also

Media Streaming Supported Source File Formats and Players

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.