Using Query-String-Parm - 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 Administrator's Guide
players. Whereas namespaces allow you to define what gets fetched from where and how,
virtual players let you fine-tune video delivery.
There are five types of virtual players: Type generic virtual player offers all generic virtual
player options; Type break players are a sub-set of Type generic, Type qss-streamlet virtual
players allow multiple settings of assured flow via a rate-map, Type yahoo players are for
YouTube™ videos and include a health-probe option and a special authentication option.
Type smoothflow players for SmoothFlow are documented after this section. Type youtube
players are for YouTube media. A sixth player type, smoothstream-pub is not supported in
Release 2.0.4.
"Using query-string-parm" on page 75
"Using hash-verify" on page 76
"Using virtual-player type qss-streamlet rate-map" on page 76
"Using Virtual Player Type youtube" on page 77
"Example: Configuring generic Virtual Player (CLI)" on page 78
"Configuring YouTube Video Caching (CLI)" on page 199
Note!
Media Flow Controller provides an API you can use to create custom virtual players. For
more information, contact Juniper Networks Customer Support; see
Technical Support" on page
Note!
In Release 2.0.4, the show options command ? (question mark), lists all virtual player
options no matter what virtual player type you are configuring; however, if you try to set an
option that does not apply to that player type, an error is displayed.

Using query-string-parm

The query-string-parm argument, used extensively in virtual player configurations, allows
you to use query params. Query params, a string with an associated value, are a way of
passing information through a URL. The query param part of the URL is designated with a
question mark (?) followed by defined query params. The query param is a name that is
associated with a pre-defined value. Additional queries in the URL are separated by
ampersand signs (&). Query params are composed of a name and value pair. For example, a
request for a query param for assured-flow-rate could be shown in a URL like this:
http://xyz.com/test.flv?afr=100
In the example, the query-string-parm <string> is afr and its value is 100. The namespace
for this connection tells Media Flow Controller that when it finds afr in the query params part of
the URL it is to use the value following it for that function. So, if the URL has ?afr=100 Media
Flow Controller knows (through the URL's defined namespace and associated virtual player or
configured network connection properties) to use 100 Kbps for the assured-flow rate.
In the Media Flow Controller CLI, you can only specify the query param <string> and should
know the units of the value for that query parameter as query params can be defined to mean
many different things and are used to signal the start or value of assured flow, fast-start, full-
download, seek, and smooth flow functions, and the match value for hash-verify and rate-
map.
Important!
Controller origin must match the corresponding query-string-parm values configured in your
Media Flow Controller edge.
34.
The virtual player query-string-parm values you configure in your Media Flow
Media Flow Controller Configuration Tasks (CLI)
Creating and Configuring Virtual Players (CLI)
"Requesting
75

Advertisement

Table of Contents
loading

This manual is also suitable for:

Media flow controller 2.0.4

Table of Contents