Site Tools


software:msd:urls

URLs

Available for query URL.

The order of processing

  1. Non-local URLs dynamic tranparent proxy
  2. /stat and /hubstat
  3. Search stream hub by name
  4. Dynamic proxy /udp and /rtp
  5. Dynamic proxy /http

/stat

General Statistics and Information.

/hubstat

Statistics on Stream Hubs (channels) and clients.

/channel/CHANNEL_NAME

Static channels, default prefix.

/udp/MULTICAST_IP:PORT

/rtp/MULTICAST_IP:PORT

Dynamic udp-multicast.
Currently the URLs are equivalent, msd uses automatic detection rtp container and unpacking.
With indication name of the interface for multicast: /udp/MULTICAST_IP:PORT?Ifname=vlan886
also only interface index: /udp/MULTICAST_IP:PORT?ifindex=2

/http/REMONTE_SERVER_IP:PORT/REQUEST_URL

Dynamic HTTP-tcp.
For example: /http/SomeServer.tv:7088/udp/239.0.0.116:4000
msd connect to the server on port 7088 SomeServer.tv and send HTTP-GET request: /udp/239.0.0.116:4000

Additional parameters

All parameters are optional!
Default values ​​and limits (for some) enrolls in a config file.
The client can specify the following parameters in the request.

ifname

Name of the network interface on which to receive multicast.
Name can be seen in the output of: ifconfig
Only for dynamic stream hubs with udp-multicast source.

ifindex

Number. Index of the network interface in the system.
Only for dynamic hubs with udp-multicast source.

precache

In kilobytes, the size of the data from the ring buffer that the client wants to get immediately after connecting.
Just is defined in the config file.
Has customizable limits.

blocksize

In kilobytes, the block size for sending.
msd will wait ring buffer to accumulate the amount specified using parameter data before sending. Those parameter in functionality similar to precache, only valid for the entire connection.
Just is defined in the config file.
Detailed description of the setting, refer to the section limits.

tcpcc

Congestion control algorithm name for TCP.
For local area network is better suited htcp, for the Internet with a large no stability or high RTT (ping) a 70-100 is better to try hybla (only available in linux).
Just set in the config file bind section of the HTTP server configuration and section template settings Stream Hub

The order of application:

  1. In the settings of OS
  2. Specified by the client in the request URL

Example of a request

software/msd/urls.txt · Last modified: 2022/02/04 18:55 by root