Media Flow Controller CLI Commands : virtual-player : virtual-player type generic

virtual-player type generic
Use type generic (formerly type 0) virtual players for caching most Web video content. Supports seek/scrub for MP4 and FLV videos using time offsets, fast-start, assured flow, connection max-bandwidth, full-download, and authentication via hash. Use no virtual-player <name> to delete. See “Virtual Player Options” on page 72 for implementation details.
virtual-player <name> type generic
assured-flow {auto | query-string-parm <string> | rate <kbps>}
connection max-bandwidth <kbps>
fast-start {query-string-parm <string> | size <KB> | time <integer>}
full-download {always | match <string> {query-string-parm <string> | header <header_name>}}
hash-verify digest <digest_type> shared-secret <string>{append | prefix} match query-string-parm <string>
seek query-string-parm <string> [enable-tunnel] [seek-length query-string-parm <string>]
Create a virtual-player <name> type generic. Arguments:
assured-flow—Set AFR for this virtual player, this assures that content is delivered at least at the specified rate (but no more than the configured connection max-bandwidth) for the session. In prefix mode, use no assured-flow to re-disable, if needed. By default, AFR is disabled (no delivery rate is assured). See “Using network connection assured-flow” on page 69 for example.
auto—Not supported in Release 2.0.2.
query-string-parm—Specify a string; referenced value must be in kilobytes.
rate—Define a static value, in kbps. A value of 0 (zero) means no throughput at all.
connection max-bandwidth—Set the maximum bandwidth for a session. The actual session bandwidth is between the AFR (Assured Flow Rate) and this value. Even if there’s available bandwidth in the link, Media Flow Controller doesn’t allocate more than this value for a session. When it is a full download, Media Flow Controller tries to allocate the max-bandwidth to the session. Default is 0 (unbounded) with the Media Flow Controller license, 200 kbps without it; you must have the license to change the unlicensed default. In prefix mode, use no connection to reset the default.
fast-start—Deliver the 1st set of kilobytes at either the maximum session speed or the available bandwidth; in prefix mode, use no fast-start to disable (default is disabled).
query-string-parm—Specify a string; referenced value must be in kilobytes.
size—Define how many kilobytes should be expedited.
time—Define how many seconds should be expedited.
full-downloadAllow the delivery to download content at the fastest possible speed, limited by the set connection max-bandwidth and possibly exceeding the set assured-flow rate.
always—Downloads are always delivered at the fastest possible speed.
match—Downloads are only delivered at the fastest possible speed when a match is found for the specified query-string-parm or header name.
hash-verify—Verify the hash value specified in the URL (see “Using hash-verify” on page 73 for details); in prefix mode, use no hash-verify to disable.
digest—Only md-5 is supported in Release 2.0.2.
match query-string-parm—Specify a string indicating the provided hash value.
shared-secret {append | prefix}—Enter a secret key that is then appended or prefixed (as specified) to the URI, to calculate the hash which is then "matched" with the match query-string-parm hash value.
seek—Specify a string to implement MP4 or FLV seek (allows the client player to seek to a specific location of the URL). In prefix mode, use no seek to disable. Optionally:
seek-length query-string-parm—Specify a string to signal the number of bytes of data to send from the seek start position; referenced value must be in bytes.
enable-tunnel—If set, all seek requests to the origin server are tunneled; typically this option needs to be selected only when the origin site changes their seek mechanism. Default is disabled.

Report an Error
Media Flow Controller Administrator's Guide and CLI Command Reference
Copyright © 2010 Juniper Networks, Inc.