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

virtual-player type youtube
Use type youtube (formerly type 5) virtual players to allow caching, and support seek, for YouTube™ FLV and MP4 media using time offsets. Use no virtual-player <name> to delete. See “About Virtual Player Type youtube” on page 77 for implementation details.
virtual-player <name> type youtube
assured-flow {auto | query-string-parm <string> | rate <kbps>}
cache-name video-id query-string-param <string> format-tag query-string-parm <string>
connection max-bandwidth <kbps>
fast-start {query-string-parm <string> | size <KB> | time <integer>}
seek query-string-parm <string> [enable-tunnel] [seek-length query-string-parm <string>]
Create a virtual-player <name> type youtube. 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.
cache-name—Set query params for:
video-id—Specify a query param string whose value provides the requested video ID (i.e. id). You Tube video URI requests do not specifically associate a name to a video asset in the URI, instead a unique query param is used.
format-tag—Specify a query param string whose value provides the requested format (i.e. fmt or itag). You Tube video URI requests do not specifically associate a format to a video asset in the URI, instead a unique query param is used. Acceptable format values are shown in “About Virtual Player Type youtube” on page 77.
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 (associated value must be in kilobytes).
size—Define how many kilobytes should be expedited.
time—Define how many seconds should be expedited.
seek—Specify a string to implement 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 name 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.