Examples

Use basic and advanced Wowza Streaming Engine Java API code examples.

Articles

Control access to Apple HLS streaming with the Wowza Streaming Engine Java API
Control access to Apple HLS streams with the ModuleAccessControlCupertinoStreaming class in the Wowza Streaming Engine Java API.
Control access to Adobe HDS streaming with the Wowza Streaming Engine Java API
Control access to Adobe HDS streams with the ModuleAccessControlSanJoseStreaming class in the Wowza Streaming Engine Java API.
Control access to Microsoft Smooth Streaming with the Wowza Streaming Engine Java API
Control access to Microsoft Smooth Streaming streams with the ModuleAccessControlSmoothStreaming class in the Wowza Streaming Engine Java API.
Control access to MPEG-DASH streaming with the Wowza Streaming Engine Java API
Control access to MPEG-DASH streaming with the ModuleAccessControlMPEGDashStreaming class in the Wowza Streaming Engine Java API.
Control access to HTTP streams with the Wowza Streaming Engine Java API
Control access to Apple HLS, Adobe HDS, Microsoft Smooth Streaming, and MPEG-DASH streams with the ModuleAccessControlHTTPStreaming class in the Wowza Streaming Engine Java API.
Control access to RTSP/RTP streams with the Wowza Streaming Engine Java API
Control access to RTSP/RTP streams with the ModuleAccessControlRTSP class in the Wowza Streaming Engine Java API.
Start and stop live stream recordings with the Wowza Streaming Engine Java API
Use LiveStreamRecord and IMediaStreamActionNotify3 in the Wowza Streaming Java API to start and stop recording live streams automatically
Transport data to Amazon S3 services using the Wowza Streaming Engine Java API
Transport data to Amazon S3 by using the Wowza Streaming Engine Java API.
Transport data to Google Cloud Platform services using the Wowza Streaming Engine Java API
Transport data to the Google Cloud Platform using the Wowza Streaming Engine Java API.
Use Wowza nDVR recording with the Wowza Streaming Engine Java API
Use the Wowza Streaming Engine Java API to manually control Wowza nDVR recording.
Use Wowza nDVR playlist request with the Wowza Streaming Engine Java API
Use the Wowza Streaming Engine Java API to control nDVR playlist requests.
Wowza nDVR: Query recording duration with the Wowza Streaming Engine Java API
Use the Wowza Streaming Engine Java API to query the duration in dvrTime, packetTime, and UTC time using an HTTP provider.
Extract MP4-formatted files from DVR streams with the Wowza Streaming Engine Java API
Use the Wowza Streaming Engine Java API to extract clips from live DVR streams in Wowza nDVR stores.
Select audio and subtitle tracks from a VOD file with the Wowza Streaming Engine Java API
Use this example code for MP4 video-on-demand playback that converts subtitle tracks to onTextData data events in Wowza Streaming Engine.
Add a Media Cache source with the Wowza Streaming Engine Java API
Add a Wowza Media Cache source using the Wowza Streaming Engine Java API.
Decrypt PlayReady-encrypted VOD content with the Wowza Streaming Engine Java API
Use the Wowza Streaming Engine Java API to decrypt Microsoft PlayReady-encrypted MP4 files before streaming.
Control HTTP origin session creation with the Wowza Streaming Engine Java API
Control the creation and combination of stream sessions when Wowza Streaming Engine is configured as an HTTP origin server.
Convert timed metadata from AMF to ID3 using the Wowza Streaming Engine Java API
Convert AMF timed metadata in live, VOD, or nDVR streams to ID3 tags for Apple HLS delivery using the Wowza Streaming Engine Java API.
Do basic server-side publishing with the Stream class and Wowza Streaming Engine Java API
Use the Stream class in the Wowza Streaming Engine Java API to publish live streams using static content.
Do scheduled adaptive bitrate streaming using the stream class and Wowza Streaming Engine Java API
Set up scheduled adaptive bitrate streaming in the Wowza Streaming Engine Java API.
Do server-side redirect of RTMP connections from one application to another with the Wowza Streaming Engine Java API
Redirect RTMP client connections to specific applications and application instances using the Wowza Streaming Engine Java API.
Dynamically switch between RTP and MPEG-TS when streaming RTSP with the Wowza Streaming Engine Java API
Use the Wowza Streaming Engine Java API to switch between native RTP and MPEG-TS delivery when streaming out using RTSP.
Expose an attribute or method of a custom application module through JMX/JConsole with the Wowza Streaming Engine Java API
Add attributes or operations to a custom module through JMX/JConsole at runtime by using the Wowza Streaming Engine Java API.
Get the current frame rate from a live stream with the Wowza Streaming Engine Java API
Use the ModuleLiveFrameRate class in the Wowza Streaming Engine Java API to get the frame rate of a live steam.
Insert a pre-roll or mid-roll for video on demand playback in Flash RTMP client with the Wowza Streaming Engine Java API
Create a VOD server-side playlist for a Flash client by using the Wowza Streaming Engine Java API.
Insert keyframes into a transcoded stream with the Wowza Streaming Engine Java API
Use the Wowza Streaming Engine Java API to force additional keyframes into transcoded streams and stop keyframes from being inserted.
Load balance NVIDIA accelerated transcoding across GPUs with the Wowza Streaming Engine Java API
Use the ITranscoderVideoLoadBalancer interface in the Wowza Streaming Engine Java API to balance NVIDIA accelerated transcoding across multiple GPUs.
Log play statistics on a timer with the Wowza Streaming Engine Java API
Use the ModuleStreamStats class in the Wowza Streaming Engine Java API to log stats for each play stream on a timer.
Control which streams get transcoded with the Wowza Streaming Engine Java API
Create a module that uses the ILiveStreamTranscoderControl interface in the Wowza Streaming Engine Java API to control which streams get transcoded.
Modify or control a stream by overriding playback with the Wowza Streaming Engine Java API
Override RTMP client playback requests and perform actions such as restricting access to a stream or renaming a stream by using the Wowza Streaming Engine Java API.
Modify or fix SDP data sent from IP cameras with the Wowza Streaming Engine Java API
Use a Java class to override default RTSP requests sent to IP cameras and the SDP data those requests generate.
Monitor MPEG-TS ingestion to process additional data streams with the Wowza Streaming Engine Java API
Use a custom listener to insert PID monitors into MPEG-TS streams as they're ingested into Wowza Streaming Engine server.
Use generic Stream Target class to prepare Apple HLS streams for ad insertion with the Wowza Streaming Engine Java API
Prepare Apple HLS streams for ad insertion based on SCTE-35 events in live MPEG-TS source streams by using the Wowza Streaming Engine Java API.
Override publish to remap a stream name with the Wowza Streaming Engine Java API
Rename a stream that's being published by using the ModuleOverridePublishRemapStream class.
Protect your SWF files by loading them from Wowza Streaming Engine with the Wowza Streaming Engine Java API
Load a .swf file on a Wowza Streaming Engine server as an object in memory.
Redirect an HTTP or RTSP session through server-side code with the Wowza Streaming Engine Java API
Redirect an RTSP or HTTP streaming session (cupertino, sanjose, and smooth).
Set up a JMX command line interface to Wowza Streaming Engine with the Wowza Streaming Engine Java API
Use the JMX interface to execute common command-line operations.
Switch streams with the Wowza Streaming Engine Java API
Implement the Stream class in the Wowza Streaming Engine Java API to switch between stream sources by using playlist objects.
Listen for RTMP stream events and codec information with the Wowza Streaming Engine Java API
Listen for RTMP stream events with the IMediaStreamActionNotify3 interface in the Wowza Streaming Engine Java API.
Control aliasing of stream names with the Wowza Streaming Engine Java API
Use the IMediaStreamNameAliasProvider2 interface in the Wowza Streaming Engine Java API to programmatically create stream name aliases.
Publish server-side live streams with the Wowza Streaming Engine Java API
Create a server-side stream that is a mixture of live and video-on-demand content.
Resolve SMIL file requests with the Wowza Streaming Engine Java API
Intercept a request for a multi-bitrate VOD stream and group the stream through Wowza Streaming Engine Java API calls.
Start native RTP and MPEG-TS streams with the Wowza Streaming Engine Java API
Control when an RTP or MPEG-TS live stream is started and stopped with two public MediaCaster classes in the Wowza Streaming Engine Java API.
Start and stop MediaCaster streams with the Wowza Streaming Engine Java API
Start and stop MediaCaster streams by using the IApplicationInstance interface in the Wowza Streaming Engine Java API.
Monitor and control connections made via MediaCaster with the Wowza Streaming Engine Java API
Use the ModuleMediaCasterNotifyExample to monitor and control connections made via the MediaCaster system with the Wowza Streaming Engine Java API.
Create pseudo-live streams using files available to the application with a Wowza Streaming Engine server listener
Add a server listener to a Wowza Streaming Engine application with the Stream class that creates pseudo-live streams using files available to the application.
Send Apple HLS streams to a generic destination with the Wowza Streaming Engine Java API
Extend the Cupertino PushPublishing class to send Apple HLS streams from Wowza Streaming Engine to generic Stream Target destinations.
Control MPEG-DASH fragment IDs and timecodes with the Wowza Streaming Engine Java API
Use the Wowza Streaming Engine Java API to adjust chunk IDs and timecodes of live MPEG-DASH streams as they're packetized to synchronize streams across multiple servers.
Update RTP/AVSyncMethod when re-streaming IP camera streams with the Wowza Streaming Engine Java API
Set the RTP/AVSyncMethod for live RTSP streams on a per-stream basis by using the Wowza Streaming Engine Java API.
Intercept and block incoming UDP packets for an RTP or MPEG-TS stream with the Wowza Streaming Engine Java API
Intercept UDP packets in incoming RTP or MPEG-TS streams and control which ones are depacketized by Wowza Streaming Engine.
Push a native RTP or MPEG-TS stream with the Wowza Streaming Engine Java API
Use the RTPUtils function to push an MPEG-TS or native RTP stream out of a Wowza Streaming Engine server.
Start and stop VHost using JMX command line interface with the Wowza Streaming Engine Java API
Use the JMX interface to implement virtual, appInstance, and MediaCaster stream start/stop from the command line.