Forum, Support | Wowza Media Systems - Powered by vBulletin
  • Register
  • Help

  • Articles
    • Welcome
    • Quick Start Guide
    • Tutorials
    • Documentation
  • Forum
  • Find a Consultant
  • Advanced Search
  • Home
  • Home
  • Server-side Modules and Code Samples
  • Basic

  1. New Wowza GoCoder iOS encoding app is available! Click here to get more information.
  2. Wowza Media Server development build 3.5.2.08 is now available! Click here to get more information.
  • Basic

    How to do file-based authentication with RTMP client and credentials in querystring of NetConnection connect RTMP URL 

    Published on 02-20-2011 04:14 AM     Number of Views: 11067 
    1. Categories:
    2. Adobe Flash,
    3. IP Camera,
    4. Live

    This is a file based, username/password authentication method that you can use with Flash applications and encoders that ...
    Read More Read More 23 Comments

    How to use ModuleCreateSnapshot (get single frame snapshots of live streams) 

    1. Categories:
    2. Adobe Flash

    Code:
    package com.wowza.wms.plugin.collection.module;
    import java.io.*;
    
    import com.wowza.util.*;
    ...
    Read More Read More 15 Comments

    How to use ModuleVideoNameList (get a list of files in the application's content location) 

    1. Categories:
    2. Adobe Flash,
    3. Video On Demand

    Code:
    package com.wowza.wms.plugin.collection.module;
    
    import com.wowza.wms.amf.*;
    import com.wowza.wms.application.IApplicationInstance;
    ...
    Read More Read More 3 Comments

    How to do scheduled, adaptive bitrate streaming using Stream class streams 

        Number of Views: 8679 
    1. Categories:
    2. Apple iOS,
    3. Live,
    4. Microsoft Silverlight

    How to setup scheduled multi-bitrate stream

    For the example you can download these 3 versions of bigbuckbunny ...
    Read More Read More 31 Comments

    How to use the IMediaStreamNameAliasProvider2 interface 

    Published on 11-08-2010 02:19 AM     Number of Views: 11495 
    1. Categories:
    2. Apple iOS,
    3. IP Camera,
    4. Video On Demand,
    5. Microsoft Silverlight,
    6. RTSP/RTP,
    7. Security,
    8. SHOUTcast/Icecast,
    9. Amazon EC2

    This example demonstrates the basic framework for implementing the IMediaStreamNameAliasProvider2 interface, which is used ...
    Read More Read More 8 Comments

    How to block a duplicate publish stream 

        Number of Views: 8512 
    1. Categories:
    2. Adobe Flash,
    3. Security,
    4. Video Recording

    You can override releaseStream to authorize a stream that is being published. This example checks to see if a stream with ...
    Read More Read More 34 Comments

    How to dynamically control Stream class streams 

    Published on 10-05-2010 09:15 PM     Number of Views: 18017 
    1. Categories:
    2. Live

    Module to control Stream class streams and playlists. Use this module to dynamically create, setup and start live Stream ...
    Read More Read More 85 Comments

    How to use ModuleLogViewerCounts (logs client count and metadata for a stream every 10 seconds) 

    Published on 10-03-2010 08:45 PM     Number of Views: 6852 
    1. Categories:
    2. Adobe Flash,
    3. Live,
    4. SHOUTcast/Icecast

    Here is a module that starts up a thread for the entire application instance and logs the number of viewers to each stream every 10 seconds. ...
    Read More Read More 18 Comments

    How to do scheduled streaming with Stream class streams (server listener) 

    Published on 10-03-2010 10:48 AM     Number of Views: 54911 
    1. Categories:
    2. Live

    A server listener that starts streams with playlists and schedules from smil file

    Like a TV station, a Stream ...
    Read More Read More 226 Comments

    Stream Class Example 

    Published on 10-03-2010 03:42 AM     Number of Views: 8688 
    1. Categories:
    2. Adobe Flash,
    3. Apple iOS,
    4. Live,
    5. Microsoft Silverlight,
    6. Mobile,
    7. RTSP/RTP,
    8. Set-top Box,
    9. SHOUTcast/Icecast

    Compile the following server listener in the Wowza IDE:
    Code:
    package com.wowza.forum;
    
    import com.wowza.wms.server.*;
    ...
    Read More Read More 6 Comments

    How to control access to an RTSP/RTP stream 

    Published on 10-03-2010 03:37 AM     Number of Views: 9654 
    1. Categories:
    2. Mobile,
    3. RTSP/RTP,
    4. Security,
    5. Set-top Box

    Example module that illustrates basic API for controlling access to an RTSP/RTP stream.

    Code:
    package com.wowza.wms.example.module;
    ...
    Read More Read More

    How to change the window title displayed when streaming using RTSP/RTP 

    Published on 10-03-2010 02:47 AM     Number of Views: 3437 
    1. Categories:
    2. Mobile,
    3. RTSP/RTP,
    4. Set-top Box

    To change window title displayed when streaming using RTSP/RTP, add the following property to the RTP/Properties container in [install-dir]/conf/[application]/Application.xml (be sure to get the correct <Properties> container - there are several in the Application.xml file):

    Code:
    <Property>
     <Name>rtspSessionName</Name>
    ...
    Read More Read More 4 Comments

    How to use the IRTSPActionNotify interface to listen for RTSP stream events 

    Published on 10-03-2010 02:44 AM     Number of Views: 1506 

    Code:
    package com.wowza.wms.example.module;
    
    import com.wowza.wms.application.WMSProperties;
    import
    ...
    Read More Read More

    How to override play 

    Published on 10-03-2010 01:49 AM     Number of Views: 2070 
    1. Categories:
    2. Adobe Flash

    This module overrides the play command and compares the client IP address to an allowed list, which is read from a property in Application.xml.

    Code:
    package com.wowza.wms.example;
    
    import com.wowza.wms.amf.*;
    ...
    Read More Read More 1 Comment

    How to only accept a secure RTMP connection (ModuleRequireSecureConnection) 

    Published on 10-03-2010 01:46 AM     Number of Views: 4775 
    1. Categories:
    2. Adobe Flash,
    3. Security

    This article describes how to use the ModuleRequireSecureConnection module to require that RTMPE, RTMPTE, or RTMPS be used ...
    Read More Read More 2 Comments

    How to expose an attribute or method of a custom application module through JMX/JConsole 

    Published on 10-03-2010 01:41 AM     Number of Views: 1757 

    By default all custom modules are exposed in JMX/JConsole at runtime. You can easily add attributes or operations to your custom module that are available through JMX/JConsole at runtime. To make an attribute available be sure you add public getter and setter method to access your attribute. All public methods will be made available through JMX as long as they use simple Java types (String, int, long, boolean, short...).

    For example, if you have a module MyModule and you want to expose the attribute connectionLimit and the method logSomething the code will look something like this:

    Code:
    package com.wowza.wms.plugin.test.module;
    ...
    Read More Read More

    How to use ModuleFCSubscribe (to send FCSubscribe to CDN) 

    Published on 10-03-2010 01:40 AM     Number of Views: 1611 
    1. Categories:
    2. Adobe Flash

    Note: This functionality is now built into Wowza Media Server 2.

    Some client side code that is intended for use in a CDN environment (such as the Open Video Player) require an implemenation of FCSubscribe to work properly. This module is a quick and dirty implementation of this server side method:

    Code:
    package com.wowza.wms.plugin.test.module;
    ...
    Read More Read More

    How to override play to control access 

    Published on 10-03-2010 01:39 AM     Number of Views: 3927 
    1. Categories:
    2. Adobe Flash,
    3. Security

    Short code snippet to show how to override the play command to control access to content. Each call from the Flash player to play content will be intercepted by this module. You can then decide to let the play occur or return an error onStatus message back to the player.

    Code:
    package com.wowza.wms.plugin.test.module;
    
    import java.util.*;
    ...
    Read More Read More 3 Comments

    How to do user authentication for Flash RTMP client using JDBC connection to mySQL database 

    Published on 10-03-2010 01:32 AM     Number of Views: 12756 
    1. Categories:
    2. Adobe Flash,
    3. Security

    Sample code to restrict access to files on the server to registered users by implementing a login module. This example uses a mysql database to store the user details.

    Download the JDBC driver from mysql from here:

    http://dev.mysql.com/downloads/connector/j/5.0.html ...
    Read More Read More 2 Comments

    How to control access to Apple HTTP Streaming (cupertinostreaming) 

    Published on 10-03-2010 12:35 AM     Number of Views: 9653 
    1. Categories:
    2. Apple iOS,
    3. Security

    Example module that illustrates basic API for controlling access to an iOS device stream.

    Code:
    package com.wowza.wms.example.module;
    
    import com.wowza.wms.httpstreamer.cupertinostreaming.httpstreamer.*;
    ...
    Read More Read More 13 Comments

    Page 3 of 4 FirstFirst Previous 1234 Next LastLast
  • Article List

    • Quick Start Guide
    • Tutorials
    • Documentation
    • Performance Tuning
    • Software Updates
    • Wowza for Amazon EC2
      • Quick Start Guide
      • Pre-built AMIs (Amazon Machine Images)
      • Advanced Topics
    • Media Players and Devices
      • General
      • Adobe Flash
      • Microsoft Silverlight
      • Apple iOS Devices
      • Set-top, Mobile and QuickTime
    • Live Streaming and Encoders
      • General
      • Advanced Topics and Troubleshooting
      • Specific Encoding Technologies
    • Video On Demand Streaming
    • Closed Captioning
    • Server Administration
    • AddOn: Wowza Transcoder
    • AddOn: Wowza nDVR
    • AddOn: Wowza DRM
    • AddOn: Other
    • Wowza GoCoder for iPhone
    • Server-side Modules and Code Samples
      • Basic
      • Advanced
      • HTTP Providers
    • List of All Articles
  • Categories

    Adobe Flash (90)
    Amazon EC2 (14)
    Apple iOS (57)
    Closed Captioning (7)
    Digital Rights Management (7)
    IP Camera (16)
    Live (179)
    Live Stream Repeater (23)
    Microsoft Silverlight (37)
    Mobile (32)
    RTSP/RTP (46)
    Security (33)
    Set-top Box (28)
    SHOUTcast/Icecast (14)
    Video Chat (6)
    Video On Demand (93)
    Video Recording (14)
    Wowza DRM (8)
    Wowza nDVR (14)
    Wowza Transcoder (28)
  • Wowza Media Systems
  • Archive
  • Top
All times are GMT -7. The time now is 10:38 PM.
© 2013 Wowza Media Systems, LLC. All rights reserved