5 Workflows in Wowza Video That You Should Be Using
The Wowza Video integrated platform offers a variety of features to simplify your streaming architecture, enabling you to stream high-quality video to audiences of any size, on any device, anywhere. Because Wowza Video is built on the Wowza Streaming Engine software, you can benefit from many of the same features, but with minimal configuration.
With new advanced features and functionality being updated regularly in Wowza Video, we’d like to share 5 workflows that you may have thought were only available in Streaming Engine, but you could be using now in Wowza Video. We’ll also review our brand new CMS and advanced analytics features.
1. WebRTC Ingest and Playback
With Wowza Video, you can capture video from your browser and deliver a WebRTC stream with all major browsers that support the WebRTC APIs. Once you connect and start the stream, you can use the hosted pages provided by Wowza Video to both publish and play back WebRTC streams with minimal configuration. The default buffer size in the settings for a live WebRTC stream is four seconds, but should your use case require a latency closer to real time, you can change the buffer setting to zero. Once you make that adjustment, you can then expect Wowza Video to deliver your WebRTC stream in less than two seconds.
It’s important to keep in mind that an end-to end WebRTC workflow means that Wowza Video will ingest a single-bitrate WebRTC source stream and deliver it directly from the transcoder for WebRTC playback. That makes it a passthrough stream where no transcoding is performed. This workflow is best suited for live stream broadcasts with fewer than 300 viewers. For audiences larger than 300, we suggest you instead use Wowza Video’s WebRTC to HLS workflow, which will ingest a WebRTC video from a browser, process the stream in its adaptive bitrate transcoder and use the CDN to scale and deliver your stream over HLS.
2. Stream Scheduler
Scheduling your streams can simplify your workflow, save you a significant amount time, and keep your viewers informed of upcoming events. If you or your organization stream on a regular basis, configuring each individual stream can quickly add up to several hours of precious time each week. Configuring a stream schedule is beneficial if you have a daily streaming event and also prevents any streams and transcoders from being left running when an event has ended. Wowza Video allows you to schedule the start and stop of a stream at a predetermined date and time with the option to configure a repeating schedule.
Additional scheduling options include streaming to stream targets like Facebook Live, YouTube Live, or other social media sites; configuring your schedule using the Wowza Video REST API; and viewing the high-level details of all your schedules on the Schedules page.
You can monitor the health of your scheduled streams with our new single analytics view which provides a complete picture of what’s going on across live and video on demand (VOD) assets. Our advanced analytics feature is available only through Wowza Video and delivers advanced insights into stream health, viewer data, and platform performance.
3. Metadata for Interactive Streams
Timed metadata is customized data used to provide information at a very specific point in time during a stream. The timed metadata flows through a server to the client where, during playback, the timecode serves as a cue point to invoke some action on the data. Metadata consists of data about a stream that’s synchronized to video frames by a timestamp and allows you to add cued interactivity such as text overlays, bidding, betting, GPS data, or question-and-answer games to a live stream. The Wowza Video REST API allows you to ingest AMF data that’s embedded into an RTMP stream from source encoders, cameras, or Wowza Streaming Engine. That said, the AMF data must be converted to ID3 tags in order for the metadata to work in HLS playback. When a player that supports ID3 tags receives an HLS stream, it can listen for and process the metadata.
Here are the steps:
Wowza Video live metadata injection
- Create Wowza Video live Stream via the Rest API
- Enable metadata processing
- Change default transcoder chunk size
- Remove the stream smoother and reduce some internal buffers
- Start live stream (optional — stream will auto start if you don’t do this)
- Start inbound stream
- Call metadata API
- Verify in output HLS
Complete step-by-step instructions and code samples for injecting metadata into a stream can be found here.
4. Stream an .mp4 File as Live
You may be surprised to learn that Wowza Video allows you to stream .mp3 and H.264-encoded .mp4 and .flv files, but the files must be hosted on a web server, Google Storage, or Amazon S3 bucket. You can easily configure this in either the Wowza Video Manager or Wowza Video Rest API.
To stream a file using the Wowza Video UI, sign into the Wowza Video Manager, create a new stream, then select Stream from File as the source on the Video Source and Transcoder Settings page.
Once you start the live stream or transcoder, Wowza Video will download the file from the specified URL and then start the stream. We do suggest adding a buffer of 10–15 seconds to the end of the file to ensure that the stream doesn’t cut off prematurely. You can choose to record this stream and it will automatically be stored as a VOD asset in your Wowza Video Asset Manager.
You can also stream a file using the Wowza Video REST API, but note that this feature is only available in v1.5 of the REST API and later. In both the Wowza Video UI and Wowza Video REST API workflow, Wowza offers advanced transcoder properties when streaming a file such as playing a file on a loop or creating a stream schedule to instruct Wowza Video to begin streaming the file at a certain date and time.
Lastly, you have the option to use our new Wowza Video Asset Manager. This new feature allows users to ingest, store, and tag video content in order to centralize, reuse, amplify, and provide user-friendly access to assets. The Upload Asset page allows you to upload your vod assets to the Wowza Video Asset Manager. Our new video CMS automates content management by allowing you to host and stream online videos in one place.
Please note, you’ll need a Wowza Video subscription to access this capability. If you’d like to learn more about this new feature, see Video CMS: What it is and why you need one for more information.
5. Webhooks Notification
In January 2021, the Wowza Video team announced a new functionality allowing you to use webhooks to integrate with other applications to streamline or automate your workflows. If you’re not familiar, webhooks are notifications that Wowza Video sends when specific events happen in your Wowza Video account.
Typically, in order to determine when an event has occurred, you would use the REST API to poll your account. For example, you may want to know when a recording is uploaded and available, when a transcoder has started, or when your stream is live. Sometimes, it would require several polling attempts to determine the event status. But with webhooks, Wowza pushes notifications to you, eliminating the need to dedicate code and bandwidth to sending repeated REST API requests. Instead, you’re able to create a webhook endpoint that listens for the event notification and then your application can respond to the notification when it’s received.
To receive event notifications, you must enable webhooks for your Wowza Video account and create a webhook endpoint. Wowza Video sends webhook events for transcoder and recording actions in JSON format through a POST request.
Here is an example of a webhook notification when a transcoder has stopped.
{
"version": 1.0,
"event": "stop.complete",
"event_id": "9be47e2a-b5ff-492a-a291-c7be79c060ba",
"event_time": 1588864470.813283,
"object_type": "transcoder",
"object_id": "pl3fff7q",
"object_data": {
"uptime_id": 7cb5yfnx
}
Please see our documentation on receiving event notifications with webhooks to learn how to enable webhooks for your Wowza Video account and receive event notifications.
Conclusion
That concludes our list of the Wowza Video workflows you should be using. We encourage you to experiment with some or all as an easy way to simplify your streaming architecture. Updates to the Wowza Video UI and API are posted in the What’s New panel of the Wowza Video UI. You can also review the running list of newly added features in Wowza Video here in our release notes.
If you’d like to configure a test stream with Wowza Video but don’t currently have license, a free 30-day Wowza Video trial is available for download. We also have a Get Started license for as low as $25 a month. For those of you who are currently Wowza Streaming Engine customers and are curious if migrating to Wowza Video may be right for you, we’re offering a free one-hour technical consultation with a Wowza solutions engineer to evaluate your workflows.