Configuring Smoothflow Restricted By File Path (Cli) - Juniper MEDIA FLOW CONTROLLER 2.0.4 - ADMINISTRATOR S GUIDE AND CLI Administrator's Manual

Administrator’s guide and cli command reference
Table of Contents

Advertisement

Media Flow Controller Common Configuration Tasks (CLI)

Configuring SmoothFlow Restricted by File Path (CLI)

Configuring Media Flow Controller to apply SmoothFlow functionality to all video files located
in a particular directory, requires a namespace configuration and a SmoothFlow virtual player
Type 4 configuration.
1. For our example company, www.example.com, the virtual player configuration for this
task could look like this:
test-vos (config) # virtual-player HD type 4
test-vos (config virtual-player HD) # connection max-bandwith 0
test-vos (config virtual-player HD) # control-point player
test-vos (config virtual-player HD) # signals session-id query-string-parm
sid state query-string-parm sf profile query-string-parm pf
test-vos (config virtual-player HD) # seek query-string-parm sk
test-vos (config virtual-player HD) # exit
test-vos (config) #
This configuration sets connection max-bandwidth to unbounded (0), control-point to
player (what monitors the bandwidth), the query params for session-id (sid), state (sf),
profile (pf), and seek (sk); and does not impose hash verification. The client player must
be designed so that it knows when to send requests for which SmoothFlow functions,
including serving different video bit-rate profiles; client player requirements are given in
Chapter 8, "SmoothFlow Deployment."
2. For our example company, www.example.com, the namespace configuration for this task
could look like this:
test-vos (config) # namespace exampleHD
test-vos (config namespace exampleHD) # domain www.example.com
test-vos (config namespace exampleHD) # match uri /videos/HD/
test-vos (config namespace exampleHD) # origin-server http
www.exampleOS.com 80
test-vos (config namespace exampleHD) # virtual-player HD
test-vos (config namespace exampleHD) # status active
test-vos (config namespace exampleHD) # exit
test-vos (config) #
The match uri-prefix /videos/HD/ tells Media Flow Controller to use these namespace rules
for incoming requests containing /videos/HD in the URL. Any incoming request for a file
located in /videos/HD will use the assigned SmoothFlow virtual player Type 4, HD. That
virtual player tells Media Flow Controller what actions to perform when certain query params
are sent from the client player.
In this case, any incoming requests for videos at www.example.com/videos/HD will have
SmoothFlow functionality applied as indicated, with a working SmoothFlow client player.
Just as with the initial namespace configuration, repeat the namespace configurations with the
domain specified without the "www" prefix, and again specified with the IP address, if
requests may come in those ways.
Tip!
If unsure what port you are using for origin-server, use standard Linux shell commands
to figure out the port, and then configure it along with the origin-server, if not the default.
202
Configuring SmoothFlow Restricted by File Path (CLI)
Media Flow Controller Administrator's Guide
Copyright © 2010, Juniper Networks, Inc.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Media flow controller 2.0.4

Table of Contents