Verifying the Internet Streamer CDS
This appendix covers the steps to test the CDS by using the different media players. This appendix covers the following topics:
•
Verifying the Web Engine
•
Verifying the Windows Media Streaming Engine
•
Verifying the Movie Streamer Engine
•
Verifying the Flash Media Streaming Engine
The CDS network topology example used in these procedures consists of the following devices:
•
2 CDE200s configured as Service Engines (SEs)
–
NE-DEMO-SE1 — Tier 1 location
–
NE-DEMO-SE2 — Tier 2 location
•
1 CDE200 configured as a Service Router (SR)
–
NE-DEMO-SR — Tier 2 location
•
1 CDE100 configured as a Content Delivery System Manager (CDSM)
–
NE-DEMO-CDSM
Verifying the Web Engine
This section consists of the following procedures:
•
Verifying Preingested Web Content
•
Verifying Dynamically Ingested Web Content
Verifying Preingested Web Content
Note
Content must be preingested. See the "Configuring Delivery Services" section for more information. Verify that the content has been pre-positioned by using the show distribution object-status name-of-object command.
Step 1
In a web browser on a client PC, enter the URL of the preingested HTML content using the Service Routing Domain Name in the URL. In the example, this is "http://rfqdn.cds.com/test_prepos/test.html." Client requests are directed to this domain name and are then redirected by the Service Router to the content on the Service Engine. Figure I-1 shows the initial URL on the left and the redirection on the right.
Figure I-1 URL Redirection for Preingested Content
Step 2
On the Service Engines, verify that the request was served as a preingested hit. View the HTTP request statistics by starting an SSH session and entering the show statistics http requests command. In this case, the Service Router redirected the request to NE-DEMO-SE2, which served the request.
Note
In Release 2.5.7 and later releases, use the show statistics web-engine command.
NE-DEMO-SE1# show statistics http requests
Partial HIts - Live fill : 0
Partial Caching - Bypassed : 0
Prepositioned Content Statistics
--------------------------------
Streaming redirected requests : 0
WMT Liveness requests : 0
Hierarchical Cache Liveness requests : 0
Http/0.9 Requests : 0 0.00
Http/1.0 Requests : 0 0.00
Http/1.1 Requests : 0 0.00
Http Invalid Requests : 0 0.00
NE-DEMO-SE2# show statistics http request
Partial HIts - Live fill : 0
Partial Caching - Bypassed : 0
Prepositioned Content Statistics
--------------------------------
Streaming redirected requests : 0
Hierarchical Cache Liveness requests : 0
Http/0.9 Requests : 0 0.00
Http/1.0 Requests : 0 0.00
Http/1.1 Requests : 0 100.00
Http Invalid Requests : 0 0.00
Verifying Dynamically Ingested Web Content
Step 1
In a web browser on the client PC, enter the URL of non-preingested HTML content on the Service Router. This is content that exists on the origin server or some other server that is accessible but not yet preingested. In the example, the origin server has a directory "test_cache" with a content object "test.html." Figure I-2 shows the initial URL on the left and the redirection on the right.
Figure I-2 URL Redirection for Non-Preingested Content
This is a cache miss scenario. Neither Service Engine had the content preingested, so the content is acquired by NE-DEMO-SE1 (the Content Acquirer). The content is then cached and replicated to NE-DEMO-SE2 (the receiver, which also happens to be the SE that is serving this client request). NE-DEMO-SE2 then serves the request (as visible by the new URL in Figure I-2), having cached the content as well.
Step 2
View the HTTP request statistics by entering the show statistics http requests command.
Note
In Release 2.5.7 and later releases, use the show statistics web-engine command.
NE-DEMO-SE1# show statistics http requests
Partial HIts - Live fill : 0
Partial Caching - Bypassed : 0
Prepositioned Content Statistics
--------------------------------
Streaming redirected requests : 0
Hierarchical Cache Liveness requests : 1
Http/0.9 Requests : 0 0.00
Http/1.0 Requests : 0 0.00
Http/1.1 Requests : 2 100.00
Http Invalid Requests :0 0.00
NE-DEMO-SE2# show statistics http requests
Partial HIts - Live fill :0
Partial Caching - Bypassed : 0
Prepositioned Content Statistics
--------------------------------
Streaming redirected requests : 0
Hierarchical Cache Liveness requests : 0
Http/0.9 Requests : 0 0.00
Http/1.0 Requests : 0 0.00
Http/1.1 Requests : 1 100.00
Http Invalid Requests :0 0.00
Step 3
Verify that the content was cached properly on NE-DEMO-SE1 and NE-DEMO-SE2 by entering the show cache content command.
NE-DEMO-SE1# show cache content
Max-cached-entries is set as 3000000
Number of cal cached assets: 1
------------------------------------------------
------------------------------------------------
5.41532e-01 44 http://ofqdn.cds.com/test_cache/test.html
NE-DEMO-SE2#show cache content
Max-cached-entries is set as 3000000
Number of cal cached assets: 1
------------------------------------------------
------------------------------------------------
6.20339e-01 44 http://ofqdn.cds.com/test_cache/test.html
Step 4
Clear the cache content in the web browser to make sure future requests are handled by the Service Engines instead of from the browser's local cache.
Step 5
In the web browser, request the same content again (http://rfqdn.cds.com/test_cache/test.html). Figure I-3 shows the initial URL request on the left and the new URL on the right.
Figure I-3 Show Statistic Requests on NE-DEMO-SE1—Cached Content
Step 6
View the HTTP request statistics again by entering the show statistics http requests command.
Note
In Release 2.5.7 and later releases, use the show statistics web-engine command.
NE-DEMO-SE1# show statistics http requests
Partial HIts - Live fill : 0
Partial Caching - Bypassed : 0
Prepositioned Content Statistics
--------------------------------
Streaming redirected requests : 0
Hierarchical Cache Liveness requests : 1
Http/0.9 Requests : 0 0.00
Http/1.0 Requests : 0 0.00
Http/1.1 Requests : 2 100.00
Http Invalid Requests :0 0.00
NE-DEMO-SE2# show statistics http requests
Partial HIts - Live fill :0
Partial Caching - Bypassed : 0
Prepositioned Content Statistics
--------------------------------
Streaming redirected requests : 0
Hierarchical Cache Liveness requests : 0
Http/0.9 Requests : 0 0.00
Http/1.0 Requests : 0 0.00
Http/1.1 Requests : 2 100.00
Http Invalid Requests :0 0.00
In this case, NE-DEMO-SE2 served the request, and it is a cache hit scenario. The content was cached from the previous attempt, and now the same content is served from cache.
Verifying the Windows Media Streaming Engine
This section consists of the following procedures:
•
Verifying Preingested Windows Media Content
•
Verifying Dynamically Ingested Windows Media Content
•
Verifying Windows Media Live Content Playback
Verifying Preingested Windows Media Content
Note
Content must be preingested. See the "Configuring Delivery Services" section for more information. Verify that the content has been pre-positioned by using the show distribution object-status name-of-object command.
Step 1
On the client PC, start the Windows Media Player program.
Step 2
Choose File > Open URL.
Step 3
Enter the URL of the preingested content in the Open URL dialog box (Figure I-4) and click OK. In the example, this is "rtsp://rfqdn.cds.com/test_prepos/test.wmv."
Figure I-4 Open URL Dialog Box
The video begins to play.
Step 4
To view the statistics on the video file, choose View > Statistics and then click the Advanced tab (Figure I-5).
Figure I-5 Windows Media Player Statistics
Step 5
To view the request flow, enter the show statistics wmt streamstat command on the SEs. In this case, the request is served from NE-DEMO-SE2.
NE-DEMO-SE1# show statistics wmt streamstat
Detailed Stream Statistics
=====================================
Stream-Id Type Source State Bytes-Recd Duration Bandwidth Server-IP Url-Requested
Client-IP Type Transport Source State Pkts-set Bytes-sent Duration BW Filename Stream-id
NE-DEMO-SE2# show statistics wmt streamstat
Detailed Stream Statistics
=====================================
Stream-Id Type Source State Bytes-Recd Duration Bandwidth Server-IP Url-Requested
Client-IP Type Transport Source State Pkts-set Bytes-sent Duration BW Filename Stream-id
171.70.222.171 VOD NONE LOCAL Setup 0 0 0 0 test_prepos/test.wmv 8895
Verifying Dynamically Ingested Windows Media Content
Step 1
On the client PC, start the Windows Media Player program.
Step 2
Choose File > Open URL.
Step 3
Enter the URL of content that has not been preingested in the Open URL dialog box (Figure I-6) and click OK. In the example, this is "rtsp://rfqdn.cds.com/test_cache/test.wmv."
Figure I-6 Open URL Dialog Box
The video begins to play.
Step 4
To view the statistics on the video file, choose View > Statistics and then click the Advanced tab (Figure I-7).
Figure I-7 Windows Media Player Statistics
Step 5
To view the request flow, enter the show statistics wmt streamstat command on the SEs. In this case, the request is received from NE-DEMO-SE2.
NE-DEMO-SE1# clear statistics wmt
NE-DEMO-SE1# show statistics wmt streamstat
Detailed Stream Statistics
=====================================
Stream-Id Type Source State Bytes-Recd Duration Bandwidth Server-IP Url-Requested
Client-IP Type Transport Source State Pkts-set Bytes-sent Duration BW Filename Stream-id
3.1.4.14 VOD RTSPT RMT_HTTP Play 388 3104000 19 549 test_cache/test.wmv 27521
NE-DEMO-SE2# clear statistics wmt
NE-DEMO-SE2# show statistics wmt streamstat
Detailed Stream Statistics
=====================================
Stream-Id Type Source State Bytes-Recd Duration Bandwidth Server-IP Url-Requested
12079 VOD RMT_RTSP Play 2241074 23 1550 3.1.4.10
rtsp;//ofqdn.cds.com/test_cache/test.wmv
Client-IP Type Transport Source State Pkts-set Bytes-sent Duration BW Filename Stream-id
171.70.222.171 VOD RTSPT RMT_RTSP Play 279 2232000 13 7201 test_cache/test.wmv 12043
Verifying Windows Media Live Content Playback
Note
Each live program uses a live delivery service to deliver the live program. See the "Configuring Programs" section for more information.
Step 1
On the client PC, start the Windows Media Player.
Step 2
Choose File > Open URL.
Step 3
Enter the URL for the live program in the Open URL dialog box (Figure I-8) and click OK. In the example, this is "rtsp://rfqdn.cds.com/wmtlive."
Figure I-8 Open URL Dialog Box
The video begins to play.
Step 4
To view the statistics on the video file, choose View > Statistics and then click the Advanced tab (Figure I-9).
Figure I-9 Windows Media Player Statistics
Step 5
To view the incoming and outgoing streams, enter the show statistics wmt streamstat command on the SEs streaming the content. In this case, the request is served from NE-DEMO-SE2.
NE-DEMO-SE1# show statistics wmt streamstat
Detailed Stream Statistics
=====================================
Stream-Id Type Source State Bytes-Recd Duration Bandwidth Server-IP Url-Requested
18872 LIVE RMT_HTTP Play 84150 241 288 171.70.22.171
http://171.70.222.171:0000
Client-IP Type Transport Source State Pkts-set Bytes-sent Duration BW Filename Stream-id
3.1.4.14 LIVE RTSPT RMT_HTTP Play 5393 7787492 233 288 8080 18889
NE-DEMO-SE2# show statistics wmt streamstat
Detailed Stream Statistics
=====================================
Stream-Id Type Source State Bytes-Recd Duration Bandwidth Server-IP Url-Requested
28772 LIVE RMT_RTSP Play 8205265 246 289 3.1.4.10
rtsp;//3.1.4.10/wmt_proxy/rtsp&ofqdn.cds.com/wmtlive/__CDS/http&171.70.111.171&8080
Client-IP Type Transport Source State Pkts-set Bytes-sent Duration BW Filename Stream-id
171.70.222.171 LIVE RTSPU RMT_RTSP Play 5582 8060408 241 288 wmtlive 28755
Verifying the Movie Streamer Engine
This section includes the following procedures:
•
Preparing Movie Streamer Content for Ingest
•
Verifying Preingested Movie Streamer Content
•
Verifying Dynamically Ingested Movie Streamer Content
•
Verifying Movie Streamer Live Content Playback
Preparing Movie Streamer Content for Ingest
The Movie Streamer delivers hinted MPEG-4, hinted 3GPP, and hinted MOV files to clients over the Internet and mobile networks. Hinted files contain hint tracks, which store packetization information that tell the streaming server how to package content for streaming. Apple QuickTime Pro can be used to generate the hint tracks.
Note
Verify that the content has been pre-positioned by using the show distribution object-status name-of-object command.
Step 1
Launch Apple QuickTime Pro.
Step 2
Choose File > Open File, and select a movie file to open.
Step 3
Choose Windows > Show Movie Properties. If there is a Hinted Video Track present, as shown in Figure I-10, then open the next movie file.
Figure I-10 Movie Properties Dialog Box
Step 4
Choose File > Export. The Save Exported File dialog box is displayed (Figure I-11).
Figure I-11 Save Exported File Dialog Box
Step 5
From the Export drop-down list, choose Movie to Hinted Movie.
Step 6
Click Options. The Hint Exporter Settings dialog box is displayed (Figure I-12).
Figure I-12 Hint Exporter Settings Dialog Box
Step 7
Check the Make Movie Self-Contained check box and the Optimize Hints For Server check box.
Step 8
Click OK.
Step 9
Click Save in the Save Exported File dialog box.
The movie file is ready to be either preingested or dynamically ingested.
Verifying Preingested Movie Streamer Content
Note
Content must be preingested. See the "Configuring Delivery Services" section for more information. Verify that the content has been pre-positioned by using the show distribution object-status name-of-object command.
Step 1
On the client PC, start the Apple QuickTime Player.
Step 2
Choose File > Open URL.
Step 3
Enter the URL of the preingested content in the Open URL dialog box (Figure I-13) and click OK. In the example, this URL is "rtsp://rfqdn.cds.com/test_prepos/test.mov."
Figure I-13 Open URL Dialog Box
The video begins to play.
Step 4
To view the statistics on the video file, choose Windows > Show Movie Inspector (Figure I-14).
The current statistics are displayed and updated as the video streams and plays.
Figure I-14 QuickTime Player Statistics
Step 5
To view the request flow, use the show statistics movie-streamer all command.
NE_DEMO-SE2# show statistics movie-streamer all
Movie Streamer Request Statistics
---------------------------------------
Current RIP connections: 0
Cache Revalidation Statistics
Fresh Content Requests: 0
Movie Streamer Bandwidth Usage Statistics
-----------------------------------------
Current Incoming bandwidth: 0 bps
Current Outgoing bandwidth; 0 bps
Current Total bandwidth: 0 bps
Average Incoming bandwidth: 0 bps
Average Outgoing bandwidth: 0 bps
Average Total bandwidth: 0 bps
Unicast Incoming Bandwidth: 0 bps
Multicast Incoming Bandwidth: 0 bps
Unicast Outgoing Bandwidth: 0 bps
Multicast Outgoing Bandwidth: 0 bps
Live Incoming Bandwidth: 0 bps
VOD Incoming Bandwidth: 0 bps
Live Outgoing Bandwidth: 0 bps
VOD Outgoing Bandwidth: 0 bps
Outgoing Bytes: 2103939 Bytes
Total Bytes: 2103939 Bytes
Movie Streamer Error Statistics
---------------------------------------
Movie Streamer Performance Statistics
-----------------------------------------
Statistics were last cleared on Thursday, 25-Oct-2007 23:53:59 UTC.
Note
In this example, current connections and bandwidth are all zero because the movie has finished playing at the time the statistics were displayed.
Note
This example shows the full output for the show statistics command. All remaining examples for the Movie Streamer statistics show only the relevant information.
Step 6
Play the movie again, and before it completes, display the statistics again.
As the statistics show, there are two current connections: 1 RTP and 1 RTSP.
NE_DEMO-SE2# show statistics movie-streamer all
Movie Streamer Request Statistics
---------------------------------------
Current RIP connections: 1
Cache Revalidation Statistics
Fresh Content Requests: 0
Movie Streamer Bandwidth Usage Statistics
---------------------------------------
Current Incoming bandwidth: 0 bps
Current Outgoing bandwidth: 0 bps
Current Total bandwidth: 0 bps
Average Incoming bandwidth: 0 bps
Average Outgoing bandwidth: 863879 bps
Average Total bandwidth: 863879 bps
Outgoing Bytes: 14490660 Bytes
Total Bytes: 14490660 Bytes
Verifying Dynamically Ingested Movie Streamer Content
When content requested by a client is not in the CDS, it is dynamically ingested from the original source and streamed to the client by an SE.
Step 1
On the client PC, start the Apple QuickTime Player.
Step 2
Choose File > Open URL.
Step 3
Enter the URL of a sample MOV file that has not been preingested into the CDS in the Open URL dialog box (Figure I-15) and click OK. In the example, this is "rtsp://rfqdn.cds.com/test_dyn.mov."
Figure I-15 Open URL Dialog Box
The video begins to play.
Step 4
To view the request flow, use the show statistics movie-streamer all command.
NE_DEMO-SE1# show statistics movie-streamer all
Movie Streamer Request Statistics
---------------------------------------
Current RIP connections: 1
Movie Streamer Bandwidth Usage Statistics
-----------------------------------------
Current Incoming bandwidth: 207115 bps
Current Outgoing bandwidth: 0 bps
Current Total bandwidth: 207115 bps
Average Incoming bandwidth: 199244 bps
Average Outgoing bandwidth: 207932 bps
Average Total bandwidth: 407176 bps
Incoming Bytes: 12667891 Bytes
Outgoing Bytes: 12609164 Bytes
Total Bytes: 25277055 Bytes
NE_DEMO-SE2# show statistics movie-streamer all
Movie Streamer Request Statistics
---------------------------------------
Current RIP connections: 0
Movie Streamer Bandwidth Usage Statistics
-----------------------------------------
Current Incoming bandwidth: 194974 bps
Current Outgoing bandwidth: 0 bps
Current Total bandwidth: 194974 bps
Average Incoming bandwidth: 174557 bps
Average Outgoing bandwidth: 0 bps
Average Total bandwidth: 74557 bps
Incoming Bytes: 13283705 Bytes
Total Bytes: 13283705 Bytes
Verifying Movie Streamer Live Content Playback
Note
Each live program uses a live delivery service to deliver the live program. See the "Configuring Programs" section for more information.
Live streaming of Movie Streamer content requires a Session Description Protocol (SDP) file. The SDP file used in this procedure is the following:
o=QTSS_Play_List 2079157989 2079176415 IN IP4 171.71.50.216
s=C:\Program Files\Darwin Streaming Server\Playlists\untitled\unti@
a=x-broadcastcontrol:RTSP
a=rtpmap:96 X-SV3V-ES/90000
a=rtpmap:97 X-QDM/22050/2
Step 1
On the client PC, start the Apple QuickTime Player.
Step 2
Choose File > Open URL.
Step 3
Enter the URL of the live program file in the Open URL dialog box (Figure I-16) and click OK. In the example, this is "rtsp://rfqdn.cds.com/movieliveprogram.sdp."
Figure I-16 Open URL Dialog Box
The video begins to play.
Step 4
To view the statistics on the video file, choose Window > Show Movie Inspector (Figure I-17).
The current statistics are displayed and updated as the video streams and plays.
Figure I-17 QuickTime Player Statistics
Step 5
To view the incoming and outgoing streams, use the show statistics movie-streamer all command.
NE_DEMO-SE1# show statistics movie-streamer all
Movie Streamer Request Statistics
---------------------------------------
Current RIP connections: 1
Movie Streamer Bandwidth Usage Statistics
-----------------------------------------
Current Incoming bandwidth: 161526 bps
Current Outgoing bandwidth: 582640 bps
Current Total bandwidth: 744166 bps
Average Incoming bandwidth: 192102 bps
Average Outgoing bandwidth: 203980 bps
Average Total bandwidth: 396082 bps
Incoming Bytes: 4478769 Bytes
Outgoing Bytes: 4499370 Bytes
Total Bytes: 8978139 Bytes
NE_DEMO-SE2# show statistics movie-streamer all
Movie Streamer Request Statistics
---------------------------------------
Current RIP connections: 0
Movie Streamer Bandwidth Usage Statistics
-----------------------------------------
Current Incoming bandwidth: 175399 bps
Current Outgoing bandwidth: 0 bps
Current Total bandwidth: 175399 bps
Average Incoming bandwidth: 0 bps
Average Outgoing bandwidth: 0 bps
Average Total bandwidth: 0 bps
Incoming Bytes: 1248165 Bytes
Outgoing Bytes: 1080984 Bytes
Total Bytes: 2329149 Bytes
Movie Streamer Performance Statistics
---------------------------------------
Statistics were last cleared on Friday, 26-Oct-2007 20:09:42 UTC.
Verifying the Flash Media Streaming Engine
This section consists of the following procedures:
•
Verifying Flash Media Streaming Preingested Content
•
Verifying Flash Media Streaming Dynamically Ingested Content
•
Verifying Flash Media Streaming—Live Streaming
Verifying Flash Media Streaming Preingested Content
Note
Content must be preingested. This was accomplished in the "Configuring Delivery Services" section. Verify that the content has been pre-positioned by using the show distribution object-status name-of-object command.
Note
Flash Media Streaming uses RTMP to stream live content by dynamic proxy. Configuration of live or rebroadcast programs is not required. When the first client requests live streaming content, the stream is created.
All RTMP calls for live content in the SWF file must be in the following format:
rtmp://rfqdn/live/path/foo.flv
In this format, rfqdn is the routing domain name of the Service Router, live is the required directory, and path is the directory path to the content file that conforms to the standard URL specification.
If you are unable to store the VOD content in the required "vod" directory on your origin server, you can create a VOD virtual path for all RTMP requests. All client requests for RTMP calls still use the rtmp://rfqdn/vod/path/foo.flv format for VOD streams, but the SE replaces the "vod" directory with the string specified in the flash-media-streaming application-virtual-path vod map command.
Use the flash-media-streaming application-virtual-path vod map <mapping string> command on each SE participating in a Flash Media Streaming delivery service. The mapping string variable accepts all alphanumeric characters and the slash (/) character, and can be from 1 to 128 characters. For example, to map the "vod" directory to "media" for the go-tv-stream.com origin server, use the flash-media-streaming application-virtual-path vod map media command.
To monitor live streaming, use the show statistics flash-media-streaming command and the show flash-media-streaming livestreams command.
Step 1
On the client PC, start the Adobe Flash Player.
Step 2
Enter the URL of the flash file in the text box (Figure I-18) and click Go. In the example, this is "rtmp://rfqdn.cds.com/vod/test_prepos.flv."
The RTMP call is routed to a Service Engine by the Service Router.
The FLV file has been preingested on the SEs. The video begins to play.
Figure I-18 Adobe Flash Player
Step 3
To view the Flash Media Streaming statistics, enter the show statistics flash-media-streaming command on the SEs.
There is one concurrent connection on NE-DEMO-SE2, which means there is an active connection to this SE. The statistics also show a Preposition Hit of 1, which means there was preingested content being requested through this SE.
NE-DEMO-SE2# show statistics flash-media-streaming
Flash Media Streaming Statistics
Statistics were last cleared on Thursday. 06-Dec-2007 37:22:58 UTC.
Total Other Proxy Req : 0
Flash Video Cache Statistics
Cache HIt Percentage : 0.00 %
Total Server Bytes : 880668
Bytes From Local Disk : 880668
Verifying Flash Media Streaming Dynamically Ingested Content
Note
Verifying dynamically ingested content for Flash Media Streaming includes cache miss scenarios and live streaming scenarios. Flash Media Streaming uses RTMP to stream live content by dynamic proxy. Configuration of live or rebroadcast programs is not required. When the first client requests live streaming content, the stream is created.
Step 1
SSH to NE-DEMO-SE1 and use the show cache content command to verify there is no cached content.
NE-DEMO-SE2# show cache content
Max-cached-entries is set as 3000000
Number of cal cached assets: 0
--------------------------------------------------
--------------------------------------------------
Step 2
On the client PC, start the Adobe Flash Player.
Step 3
Enter the URL of the flash file in the text box (Figure I-19) and click Go. In the example, this is "rtmp://rfqdn.cds.com/vod/test_cache.flv."
The RTMP call is routed to a Service Engine by the Service Router.
The FLV file has been cached on the SEs. The video begins to play.
Figure I-19 Flash Player
Step 4
To view the Flash Media Streaming statistics, enter the show statistics flash-media-streaming command on the SEs.
There is one concurrent connection on NE-DEMO-SE2, which means there is an active connection to this SE. The statistics also show a Cache Miss of 1, which means the content was not found on this SE.
NE-DEMO-SE2# show statistics flash-media-streaming
Flash Media Streaming Statistics
Statistics were last cleared on Thursday. 06-Dec-2007 37:22:58 UTC.
Total Other Proxy Req : 0
Flash Video Cache Statistics
Cache HIt Percentage: 0.00 %
Total Server Bytes: :587112
Bytes From Local Disk: 587112
Bytes Through HTTP: 293556
Step 5
To verify that the content has been cached after it was requested, enter the show cache content command.
NE-DEMO-SE2# show cache content
Max-cached-entries is set as 3000000
Number of cal cached assets: 1
--------------------------------------------------
--------------------------------------------------
1.71425e-01 293556 http://ofqdn.cds.com/vod/test_cache.flv
Verifying Flash Media Streaming—Live Streaming
Flash Media Streaming uses RTMP to stream live content by dynamic proxy. Configuration of live or rebroadcast programs is not required. When the first client requests live streaming content, the stream is created. There are no limits to the number of live streams other than the system load. Live streaming uses distributed content routing to distribute streams across multiple Service Engines.
Step 1
Set up a Flash Media encoder. Enter the following information:
•
FMS URL—Origin Server URL (Origin Server cannot be a CDS device.)
•
Stream—Stream name for the client's request
•
Video—Choose VP6 or H.264
Step 2
Click Start to publish the stream to the Origin Server.
Step 3
In a web browser on the client PC, enter the URL rtmp://<edge SE IP address>/live/<publish stream name>.
For example, if the URL was rtmp://Temp4.se.fmslive.com/live/livestream, Temp4 is the SE assigned under the delivery service, the live directory indicates that it is a live stream, and livestream is the published name on the Flash Media Encoder.
Step 4
On the Edge SE enter the show statistics flash-media-streaming command to view the Flash Media Streaming statistics.
NE-DEMO-SE2# show statistics flash-media-streaming
Flash Media Streaming Statistics
Statistics were last cleared on Thursday. 06-Dec-2007 37:22:58 UTC.
Total Other Proxy Req : 0
DownStream Bytes : 124362967
Step 5
Enter the show flash-media-streaming stream-status live command.
NE-DEMO-SE2# show flash-media-streaming stream-status live
Display flash-media-streaming livestreams
Display maximum 4 applications, 8 forwarders, and 8 client stream info
ClientReqUrl : rtmp://Temp4.se.fmslive.com/live/livestream
path2OS : 2.225.2.65->2.225.2.62
reqFwdUrl : rtmp://2.225.2.65/live/cds_fms_proxy/2.225.2.62/live/livestream
Downstream BW (Kbps): 267
Downstream Bytes : 138278573
Step 6
On the Content Acquirer in the delivery service, enter the show statistics flash-media-streaming command. The command shows one session connecting from the edge SE.
NE-DEMO-SE2# show statistics flash-media-streaming
Flash Media Streaming Statistics
Statistics were last cleared on Thursday. 06-Dec-2007 37:22:58 UTC.
Total Other Proxy Req : 0
DownStream Bytes : 149456451
Step 7
Enter the show flash-media-streaming stream-status live command. The command shows the client request URL connecting from the edge SE.
NE-DEMO-SE2# show flash-media-streaming stream-status live
Display flash-media-streaming livestreams
Display maximum 4 applications, 8 forwarders, and 8 client stream info
ClientReqUrl : rtmp://2.225.2.65/live/cds_fms_proxy/2.225.2.62/live/livestream
reqFwdUrl : rtmp://2.225.2.62/live/livestream
Downstream BW (Kbps): 261
Downstream Bytes : 155736798