Darwin Streaming Server Relay Setting

Source: Internet
Author: User

After installing Darwin streaming Server, you can use VLC to play streaming media files through the RTSP protocol. But now I have a need to send a DSS (assumed to be a machine) on the media file to another DSS (assuming B machine) on the client VLC by accessing the B machine to play the media files of a machine, that is, using B machine as a forwarding server. I found a lot of articles on the internet about configuring DSS, all of which are about how to install and configure playlists, not how to configure forwarding (Relay). There is an article called "Fast Streaming media based on DSS implementation" of the paper referred to the forwarding, but it is configured to play a playlist, the actual playback of the files on the B machine, the B-Machine Media folder under the media files are deleted and will not work. The detailed configuration process was eventually found in http://soundscreen.com/streaming/relay.html. the following records my configuration process as follows, so as not to forget later.

 Description: Using three Windows PC, one (named A,ip address 100.0.0.108) as source server, one (named B,ip address 100.0.0.107) do relayServer, one (named C,ip address of 100.0.0.109) as the client.set up a playlist,a machine on a machine to send the files on this machine to B machine, if C machine can passAccessing the B-machine to play the media file of a machine proves that relay is successful.Configuration steps:
1.AAndBMachine installationPerlAndDarwin streaming Server,CMachine installationVLCPlayer.

2.A machine B machine Open the browser type http://localhost:1220, enter the user name and password.

3. Enter the DSS adminof a machine, establish playlist in a machine

1) Click playlist, select the button New Media Playlist.

2) set Playlist

name to fill in the names of playlist ,

Mount Point fills in the SDP file name with the same name as playlist .

Select sequential loopedin the play Mode to ensure that playback does not stop.

Available Content , you can drag media files to the right of the Items in this playlist.

At the bottom of this interface, you can save the settings with save changes.

3) New Playlist

4. Establish a new relayon machine A. Click Relay Settingson the left and select New relayon the right.

In Source Settings :

SOURCE Hostname or IP Address is populated with the origin data IP. Because the playlist of this machine is transferred to another address, theSource Hostname or IP address is filled with 127.0.0.1.

Mount Point fills in the name of the playlist to be played (/V.SDP).

Request incoming Stream to fill in the DSS user name and password for the a machine.

Destination in Settings :

Hostname or IP address to fill in the B -Machine IP addresses.

The port number in Base Port that will be delivered to the B machine (required to be filled in to establish the connection).

Multicast TTL fills the number of stages that can be relayed.

At the bottom of the page there is save changes saved settings.

Destinationcan be added and removed.

5. on machine A , click Playliston the left menu to start the V.SDP .

6. on machine A Click on the left menu relay status to prove that the data has been delivered to B machine.

7.WillAMachineDSSUnder the installation directoryPlaylistIn the folder withMount PointIn a folder of the same nameV.SDPCopy files toBMedia folder in the computer. InBOn-Machine editingV.SDPFile, find the first one to "m= "The line that begins with the0Change to the previousRelay SettingConfigured in theBase Port(i.e.9000); Continue to find the nextm= "The line that begins with the0SwitchBase port+2(i.e.9002)。

8. set up a new relayin machine B . Click Relay Settingson the left and select New relayon the right.

In Source Settings :

SOURCE Hostname or IP Address is populated with the origin data IP. Because it is receiving the playlistof a machine, theSource Hostname or IP address is populated with the IP addresses of a machine.

Mount Point fills in the name of the playlist to be played (/V.SDP).

Request incoming Stream to fill in the DSS user name and password for the a machine.

Destination in Settings :

Hostname or IP address to fill in the destination IP addresses. Because it is a playlistto receive a machine, theSource Hostname or IP address is filled with 127.0.0.1.

The port number in Base Port that will be delivered to the B machine (required to be filled in to establish the connection, same as 4 ).

Multicast TTL fills the number of stages that can be relayed.

At the bottom of the page there is save changes saved settings.

9. start the VLCfor C Machine, open the URL:RTSP://100.0.0.107/V.SDP

The 10.C Machine plays a media file issued by a machine.

Darwin Streaming Server Relay Setting

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.