Today DLNA (Digital Living Network Alliance) is the most popular and convenient way to transfer content (video, images, music) to smart TVs, mobile devices, network media centers, and media players. Connecting a USB drive with a media library to Your Keenetic device will make it available for all devices on your home network via Ethernet or Wi-Fi connections.
All Keenetic devices equipped with USB port have the 'Media Server' component, except Keenetic 4G model (available in selected markets and designed for 4G/3G USB modems connection only).
NOTE: Important! For the stable operation of the Media Server, you need to connect a disk partition with an automatically mounted SWAP partition as a swap file area.
To enable the built-in media server, you must first install the system component 'Media Server' on your Keenetic. You can do it on the 'General system settings' page in the 'Component options' section by clicking on the 'Component options.'
Then go to the 'Applications' page and click 'Media Server.'
The 'Media Server' window will appear.
In the 'TCP port' field, leave the default value (8200). This port is used by the built-in media server to operate SOAP (Simple Object Access Protocol). The Server uses this port for HTTP traffic to transmit media content descriptions.
The 'Media server name' field shows the preset server name. By default, this is the model of your Keenetic router.
In the 'Enabled in' option, you can specify the segments for which DLNA will be enabled (by default, the media library is enabled for the Home Segment).
NOTE: Important! Be sure to select one or more folders of music, movies, or photos on USB drives that will be available for all media players on your home network.
Click the 'Add folder' button and select the required folder in the window that opens (you can choose a parent directory). In the example below, a folder named 'video' picked on the USB drive.
In the 'Content' field, you can define a specific type of content for Media Server indexing.
When you set up the first folder, Media Server creates the media library database file in this folder and automatically scans all files and subfolders inside the set folder. If you have a large number of media files on your drive, indexing can take a long time.
TIP: Note: The DLNA Media Library database is indexed at:
- the first time you set up, assign, or change a folder;
- when you press the "Reindex" button in the web interface;
- automatically, when the contents of the folder are changed.
There are no scan intervals settings.
NOTE: Important! Media Server can only process media files located at the USB drive directly attached to Keenetic. For more information on connecting a USB drive to the Keenetic, please refer to the following instructions Connecting a USB drive. For the client device on which you are going to watch media content to detect the server, the device must be connected to the Keenetic router's home network.
This setting completes the setup of the Media Server in the Keenetic device.
You can check the performance of the Media Server on your TV, computer, or mobile device using a media player that supports DLNA technology.
In our example, it's a smartphone. To play media content over a network, you need a media player that supports DLNA. Some media players support this technology for both Android and iOS devices (for example, VLC, AnDLNA, UPnPlay for Android, and AVPlayer and nPlayer for iOS).
Connect your mobile device to the Keenetic's home network over Wi-Fi. Launch the media player (in our example, it's VLC). The application will automatically detect the Media Server in your home network. Choose Keenetic from the list to connect to the Media Server.
The application also detected an SMB share on the home network because the Windows network file server is enabled in Keenetic by default.
Select 'Browse Folders' for access to media files.
Select the necessary file for playback.
Similarly, you can set up video playback on Smart TV with DLNA support.
Your Smart TV must be connected to the Keenetic network (via Ethernet cable or Wi-Fi) to be able to display files from Media Server.
We will not focus in detail on the Smart TV setup, as it may vary greatly depending on the model and manufacturer. Please refer to your TV's instruction manual. Your TV manufacturer should provide detailed information on setting up the playback of files from DLNA-compatible devices connected to your TV over the network. There are different names for this service on TVs from different manufacturers (for example, AllShare in Samsung and SmartShare in LG).
Typically, for most Smart TVs, it is enough to have a connection to the Keenetic home network, and in the list of sources or connected devices will appear Media Server with the ability to navigate by folder and by content type.
1. Some files may not play on the client device, depending on their resolution and format. Also, some functions may not be available (e.g., selecting the subtitle language, rewinding, resuming viewing from a stop location, and so on).
For example, it is a known problem that 4K content can not play on LG 49UB850V Smart TV via DLNA, but when a hard drive connected directly to the TV via USB, the same files can play. This problem is the result of the design of this particular Smart TV model. It supports the ULTRA HD Video (3840 X 2160) playback through USB only.
Typically, high-quality playback of content over Wi-Fi is possible within one room with the Keenetic device. For more information on wireless network performance, see the following article How to maximize Wi‐Fi speed.
2. The sorting of the Media Server content depends on the capabilities of the media player. If you are not satisfied with the sorting of Media Server files, try to set it up by yourself (by using the track, album, date, title, and class parameters) according to the following instruction Media Server file sorting.