1230
Comment:
|
4054
|
Deletions are marked like this. | Additions are marked like this. |
Line 11: | Line 11: |
1. rtmp://<server:port>/kultur - Streaming of a tv program with user authentification. 1. rtmp://<server:port>/kultur_live - Live streaming of a tv program that is being transcodea with user authentification. 1. rtmp://<server:port>/kultur_preview - Streaming of a preview video of a tv program. |
1. ''rtmp://<server:port>/kultur'' - Streaming of a tv program with user authentification. 1. ''rtmp://<server:port>/kultur_live'' - Live streaming of a tv program that is being transcodea with user authentification. 1. ''rtmp://<server:port>/kultur_preview'' - Streaming of a preview video of a tv program. |
Line 17: | Line 17: |
1. Installed services: a. A Ticket Issuer a. A BES service 1. In order to retrieve tickets, the local machine must have: a. Source code of Wowza Streaming Server plugin checked out a. Wowza streaming server installed to access Wowza library |
1. Address of Ticket Issuer, ie. ''http://alhena:7880/authchecker-service/tickets'' 1. Address of streaming server, ie. ''rtmp://iapetus:1935'' 1. Source code of Wowza Streaming Server plugin checked out 1. Path to Wowza streaming server jar library 1. IP-address of client machine 1. Shard URL of streaming file. 1. SSH access to the Wowza server |
Line 24: | Line 25: |
== How to issue tickets == 1. Edit the file ''<wowza-plugin-src-code>/scripts/getTicket.sh'' and insert the information needed. Ie. {{{ #Location of Wowza's jar files on local machine WOWZA_LIB=../build-libs/wowza/jars/* TICKET_SERVER=http://alhena:7880/authchecker-service/tickets #IP-address of client machine: USERNAME=172.18.224.234 RESOURCE=http://www.statsbiblioteket.dk/doms/shard/uuid:a0639529-124a-453f-b4ea-59f833b47333 ORGANIZATION_ID=au.dk USER_ID=1x1 CHANNEL_ID=tv2news PROGRAM_TITLE=Nyheder PROGRAM_START=2007-03-04T00:00:00+0100 STREAMING_SERVER=rtmp://iapetus:1935 FILENAME=Seinfeld.flv}}} 1. Execute script that issues a ticket{{{ cd <wowza-plugin-src-code>/scripts ./getTicket.sh}}} 1. The console window now shows URL and text. The strings can be copy-pasted into the SimpleVideoStreaming browser client. |
|
Line 25: | Line 45: |
=== Streaming video === Test the functionality of the wowza application rtmp://<server:port>/kultur ==== Test that streaming a video is succesful ==== 1. Issue a new ticket 1. Insert value for [Kultur] part of URL's into simplevideostreaming.html a. Check that video is played. a. Check that an entry has been added to the log file: <VHost-dir>/logs/streamingStatistics/StreamingStat-<date>.log ==== Test that an invalid ticket result in rickroll video ==== 1. Change a character in the ticket id of the previously used server-url a. Check that the rick roll video is shown a. Check that an entry has '''not''' been added to the log file: <VHost-dir>/logs/streamingStatistics/StreamingStat-<date>.log === Live Streaming video === Test the functionality of the wowza application rtmp://<server:port>/kultur_live ==== Test that live streaming a video is succesful ==== 1. Issue a new ticket 1. Insert value for [kultur_live]---[valid] part of URL's into simplevideostreaming.html a. Check that video is played. a. Check that an entry has been added to the log file: <VHost-dir>/logs/streamingStatistics/StreamingStat-<date>.log ==== Test that an invalid ticket result in live rickroll video ==== 1. Insert value for [kultur_live]---[invalid] part of URL's into simplevideostreaming.html a. Check that the rick roll video is played. a. Check that an entry has '''not''' been added to the log file: <VHost-dir>/logs/streamingStatistics/StreamingStat-<date>.log === Streaming of preview videos === Test the functionality of the wowza application rtmp://<server:port>/kultur_preview ==== Test streaming of a preview video ==== 1. Make sure the preview file from getTicket.sh exists on server 1. Insert value for [kultur_preview] part of URL's into simplevideostreaming.html a. Check that video is played. |
Release test for Wowza Streaming Server plugin for Kulturarvsportalen
Context
The Wowza plugin has the following areas of responsibilities:
Authentification - Validate that a user is allowed to get a file streamed.
Locating streaming files - Locate the folders where the streaming files reside.
Start live streaming processes - Start a VLC process that streams video to a port, that Wowza forwards to a user.
Log usage statistics - Not yet implemented.
These are done in three different settings:
rtmp://<server:port>/kultur - Streaming of a tv program with user authentification.
rtmp://<server:port>/kultur_live - Live streaming of a tv program that is being transcodea with user authentification.
rtmp://<server:port>/kultur_preview - Streaming of a preview video of a tv program.
Prerequisites
In order to execute this test, the following prerequisites must be met:
Address of Ticket Issuer, ie. http://alhena:7880/authchecker-service/tickets
Address of streaming server, ie. rtmp://iapetus:1935
- Source code of Wowza Streaming Server plugin checked out
- Path to Wowza streaming server jar library
- IP-address of client machine
- Shard URL of streaming file.
- SSH access to the Wowza server
How to issue tickets
Edit the file <wowza-plugin-src-code>/scripts/getTicket.sh and insert the information needed. Ie.
#Location of Wowza's jar files on local machine WOWZA_LIB=../build-libs/wowza/jars/* TICKET_SERVER=http://alhena:7880/authchecker-service/tickets #IP-address of client machine: USERNAME=172.18.224.234 RESOURCE=http://www.statsbiblioteket.dk/doms/shard/uuid:a0639529-124a-453f-b4ea-59f833b47333 ORGANIZATION_ID=au.dk USER_ID=1x1 CHANNEL_ID=tv2news PROGRAM_TITLE=Nyheder PROGRAM_START=2007-03-04T00:00:00+0100 STREAMING_SERVER=rtmp://iapetus:1935 FILENAME=Seinfeld.flv
Execute script that issues a ticket
cd <wowza-plugin-src-code>/scripts ./getTicket.sh
The console window now shows URL and text. The strings can be copy-pasted into the SimpleVideoStreaming browser client.
Tests
Streaming video
Test the functionality of the wowza application rtmp://<server:port>/kultur
Test that streaming a video is succesful
- Issue a new ticket
- Insert value for [Kultur] part of URL's into simplevideostreaming.html
- Check that video is played.
Check that an entry has been added to the log file: <VHost-dir>/logs/streamingStatistics/StreamingStat-<date>.log
Test that an invalid ticket result in rickroll video
- Change a character in the ticket id of the previously used server-url
- Check that the rick roll video is shown
Check that an entry has not been added to the log file: <VHost-dir>/logs/streamingStatistics/StreamingStat-<date>.log
Live Streaming video
Test the functionality of the wowza application rtmp://<server:port>/kultur_live
Test that live streaming a video is succesful
- Issue a new ticket
- Insert value for [kultur_live]---[valid] part of URL's into simplevideostreaming.html
- Check that video is played.
Check that an entry has been added to the log file: <VHost-dir>/logs/streamingStatistics/StreamingStat-<date>.log
Test that an invalid ticket result in live rickroll video
- Insert value for [kultur_live]---[invalid] part of URL's into simplevideostreaming.html
- Check that the rick roll video is played.
Check that an entry has not been added to the log file: <VHost-dir>/logs/streamingStatistics/StreamingStat-<date>.log
Streaming of preview videos
Test the functionality of the wowza application rtmp://<server:port>/kultur_preview
Test streaming of a preview video
- Make sure the preview file from getTicket.sh exists on server
- Insert value for [kultur_preview] part of URL's into simplevideostreaming.html
- Check that video is played.