LEADTOOLS Support
Multimedia
Multimedia SDK FAQ
How do I stream a single file to multiple devices?
#1
Posted
:
Tuesday, April 18, 2017 9:42:21 AM(UTC)
Groups: Registered
Posts: 119
Was thanked: 4 time(s) in 4 post(s)
The LEADTOOLS Media Streaming Server provides developers with everything they need to quickly build professional audio/video multimedia streaming applications for playback on any device. This advanced technology takes any file, capture device, ONVIF-conformant camera, or UDP or RTSP stream, and converts it on the fly to a variety of formats and industry-standard protocols, including Flash, Adobe HDS, Apple HTTP Live Streaming, MPEG-DASH, Microsoft Smooth Streaming, RTSP, and HTML5.
All it takes is three lines of code to setup and start a LEADTOOLS Media Server. Developers can place this code into a service application, register the required DLLs and call it a day, which demonstrates how powerful and programmer-friendly the LEADTOOLS Media Server framework is.
Code:
var server = new Leadtools.MediaStreaming.Server();
server.ImportConfigFile("%ltmsConfigFolder%\\config.xml");
server.Start();
Here is a demo that will show you the Media Streaming Server:
http://demo.leadtools.com/MediaStreaming/player.htmlIf you would like to stream your own video onto multiple devices then you can change the File name that the demo is taking in. A couple things to keep in mind is that the video must be of the .MP4 format and must be encoded with H264.
When streaming out your video using the demo abover, place the file into the folder found here:
C:\LEADTOOLS23\Examples\Multimedia\MediaStreaming\JS\Server\Media\vod
At the bottom of the demo there is a URL that you can give to multiple devices to play the stream.
Edited by moderator Wednesday, December 27, 2023 4:49:10 PM(UTC)
| Reason: Updated
Nick Villalobos
Developer Support Engineer
LEAD Technologies, Inc.
LEADTOOLS Support
Multimedia
Multimedia SDK FAQ
How do I stream a single file to multiple devices?
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.