Differences between revisions 16 and 17
Revision 16 as of 2011-04-05 12:29:34
Size: 3729
Editor: heb
Comment:
Revision 17 as of 2011-04-05 12:30:36
Size: 3791
Editor: heb
Comment:
Deletions are marked like this. Additions are marked like this.
Line 50: Line 50:
 1. Check that video is played.  a. Check that video is played.
 a. Check that an entry has been added to the log file: logs/streamingStatistics/StreamingStat-<date>.log
Line 54: Line 55:
 1. Check that the rick roll video is shown  a. Check that the rick roll video is shown
Line 61: Line 62:
 1. Check that video is played.  a. Check that video is played.
Line 65: Line 66:
 1. Check that the rick roll video is played.  a. Check that the rick roll video is played.
Line 72: Line 73:
 1. Check that video is played.  a. Check that video is played.
Line 75: Line 76:
==== Video streams are logged on start ====

Release test for Wowza Streaming Server plugin for Kulturarvsportalen

Context

The Wowza plugin has the following areas of responsibilities:

  1. Authentification - Validate that a user is allowed to get a file streamed.

  2. Locating streaming files - Locate the folders where the streaming files reside.

  3. Start live streaming processes - Start a VLC process that streams video to a port, that Wowza forwards to a user.

  4. Log usage statistics - Not yet implemented.

These are done in three different settings:

  1. rtmp://<server:port>/kultur - Streaming of a tv program with user authentification.

  2. rtmp://<server:port>/kultur_live - Live streaming of a tv program that is being transcodea with user authentification.

  3. 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:

  1. Address of Ticket Issuer, ie. http://alhena:7880/authchecker-service/tickets

  2. Address of streaming server, ie. rtmp://iapetus:1935

  3. Source code of Wowza Streaming Server plugin checked out
  4. Path to Wowza streaming server jar library
  5. IP-address of client machine
  6. Shard URL of streaming file.
  7. SSH access to the Wowza server

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
  2. Execute script that issues a ticket

    cd <wowza-plugin-src-code>/scripts
    ./getTicket.sh
  3. 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

  1. Issue a new ticket
  2. Insert value for [Kultur] part of URL's into simplevideostreaming.html
  3. Check that video is played.
  4. Check that an entry has been added to the log file: 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
  2. Check that the rick roll video is shown

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
  2. Insert value for [kultur_live]---[valid] part of URL's into simplevideostreaming.html
  3. Check that video is played.

Test that an invalid ticket result in live rickroll video

  1. Insert value for [kultur_live]---[invalid] part of URL's into simplevideostreaming.html
  2. Check that the rick roll video is played.

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
  2. Insert value for [kultur_preview] part of URL's into simplevideostreaming.html
  3. Check that video is played.

Streaming Statistics

Live video streams are logged on start

Nothing is logged when session is invalid

Release test for Wowza plugin version 2.0 (last edited 2011-04-13 12:40:29 by heb)