Adding a Source - RTMP
- Eli Pielet (Writec) (Unlicensed)
- Alon Men
ZEN Master can receive a Source directly from an RTMP input.
When this method is used, the stream is not protected by the Zixi protocol.
ZEN Master can receive RTMP streams that are sent using either Push or Pull method.
The following procedure describes how to add an RTMP Source in ZEN Master. In addition, an explanation of each of the configuration parameters is given in the table below.
To add an RTMP Source:
- In the main navigation, click Sources.
- Click + Add.
The Create New Source window is displayed. - Click on RTMP.
The Create New RTMP window opens. - In the Info section, in the Name field, type a logical name for the Source.
- In the Tags field, select one or more of the predefined Tags from the drop-down list.
Tags are used for access control. By selecting a Tag, you are relating this Source to that Tag. Tags are associated with certain roles (through the Users & Roles screen), and roles, in turn, are associated with users and user groups. If you would like to create a new Tag, see Creating a Tag. In the Events Configuration Profile field, select from the dropdown list the profile that you would like to apply to this Source. By default, the Default profile is applied.
Events Profiles consist of a series of rules that determine precisely how various types of Events are logged and what results they trigger.
- The Source's location is used to represent it in the proper position in the map display (see Maps). By default, the location is determined automatically based on the Source's IP. If you would like to manually set the location of the Source (Optional), use the following procedure:
- Click on the Edit icon next to the Location field.
A search box is shown below the Location field. - Enter identifying info for the location (e.g. street address, zip code, coordinates).
Search results are displayed below the search box as you type. - Click on the desired location.
The selected location populates the Location field.
- Click on the Edit icon next to the Location field.
- In the RTMP Configuration section, under Mode, select the mode used to send the stream. Options are: Push or Pull.
- If you selected Pull mode:
- In the URL field, enter the URL of the RTMP server (e.g. rtmp://server/live).
- In the Stream field, enter the RTMP stream name as defined in the RTMP server.
- In the Username field, enter the RTMP stream access credentials - Username.
- In the Password field, enter the RTMP stream access credentials - Password.
- Select the Ignore TLS certificate errors checkbox if you are sending the stream to a trusted server which does not have a valid certificate. When this option is selected, the Zixi Broadcaster will ignore TLS certificate errors and send the stream to its destination.
- If you would like to disconnect the stream when the bitrate drops very low, verify that the Disconnect idle stream checkbox is selected. (Default: selected)
- In the Source Configuration section, in the Ingest Cluster field, select from the drop-down list one of the available Ingest Clusters as the destination for the Source.
In the Target Broadcaster/s field, select your broadcaster preference. Either select a specific broadcaster to be used OR specify your preference for using primary vs. backup broadcasters, options are: Prefer Primary Broadcasters, Primary Broadcasters only, Backup Broadcasters only or Prefer Backup Broadcasters.
For managed clusters, it is not recommended to select a specific broadcaster, as the broadcaster's availability may not remain stable.
- In the Input NIC field, if you would like to specify which NIC is used, then select the IP of that NIC from the drop-down list. By default, Any is selected.
If you would like to apply a PID Mapping profile to this Source, then in the PID Mapping Profile field, select the desired profile from the drop-down list.
Using this method creates a single Source in ZEN Master with PID Mappin applied. If you would like to maintain a Source with the original PIDs and create an additional Source with PID Mapping (e.g. if you want to create several different PID Mapped variations), then use the method described in Adding a Source - PID Mapping.
To create a new PID Mapping Profile, see Adding PID Mapping Profiles.
- If you would like to generate email notifications whenever a PID change is detected, select the Alert on PID changes checkbox.
Select the Log SCTE-35 checkbox if you would like to log SCTE-35 markers for this stream.
To log SCTE-35 markers, SCTE-35 needs to be enabled both on the Ingest Cluster and in the Source configuration.
SCTE-35 logging is only available for v13.1.40262+ Broadcasters.
- If Log SCTE-35 was selected, you can choose to receive alerts for SCTE-35 markers by selecting the Enable SCTE-35 alerts checkbox.
- In the Public Output field, if you would like to allow access to the stream directly through a supported player, select the Allow checkbox.
- If you selected the Allow checkbox, then enter a password in the Password field to authenticate access to the stream.
If you would like to enable Content Analysis (CQA), verify that the Enable Content Analysis checkbox is selected (default).
It is generally recommended to enable Content Analysis unless it is causing technical problems. If Content Analysis is disabled, the system won't detect errors in the video and audio content of the stream and won't generate warnings for such events. Even when Content Analysis is disabled the system will still detect TR101 errors in the stream.
If you would like to monitor CEA-608/CEA-708 closed captions, select the Monitor CEA-608/CEA-708 checkbox.
Monitoring CEA-608/CEA-708 Closed Captions requires using a version 14.4 or newer Broadcaster.
If you would like to disable auto-pull, select the Disable Auto-Pull checkbox.
Disabling Auto-Pull will lock Channels using this Source to the Source's Ingest Cluster and Targets to the Source's current active Broadcaster. This setting only applies to Pass-Through Channels.
- If Auto-Pull is enabled, in the Auto-Pull Latency [ms] field, specify the desired latency for auto-pull actions. (Default: 1000 ms)
In the WebRTC Playback section, select the desired playback method.
WebRTC enables you to monitor the stream via web browsers and mobile applications with real-time communication (RTC). WebRTC needs to be activated independently for each Source in ZEN Master (by default it is disabled).
Select one of the following options:
- Disabled - users will not be able to view this Source using WebRTC (default).
- Pass-Through - passes the stream through to WebRTC without transcoding. This option can only be used if the input stream is already in a WebRTC compliant format (video - H.264 codec with Baseline or Main profile and no B frames, Audio - Opus codec).
Auto - ZEN Master automatically transcodes the stream using the optimal profile for each specific user. In this option Zixi Broadcaster will decode the video, transforming it into RAW frames, which will be passed to the WebRTC library, where it will be re-encoded for each individual user.
Best quality. However, if monitored by multiple users this can consume extensive resources.
1080p/720p/480p/360p - ZEN Master transcodes the stream to a WebRTC Compliant profile with the specified resolution. The transcoding is done by Zixi Broadcaster's transcoder.
This method requires a Zixi Broadcaster with X264 or Nvidia for transcoding. This method allows many users to monitor the stream without encoding separately for each individual user, which saves CPU capacity. Since there is only one stream version, it is recommended to encode to a low resolution and low bitrate so that the stream will be viewable by all users monitoring the stream.
- In the Initial State section, select the Disabled checkbox if you would like to disable this Source upon initial configuration.
Select the Muted checkbox if you would like to disable error/recovery notifications for this Source upon initial configuration.
You can Enable/Unmute the Source at any time.
If you would like to adjust the advanced settings, click Advanced.
The Advanced settings fields are displayed:- If you would like to track usage for this Source, enter your Billing Code details. See Billing Codes.
- In the Auto Pull MTU field, specify the maximum transmission unit (largest data packet that a network-connected device will accept) in bytes for the Auto Pull.
- To apply Input NIC selection to the network device, select the Apply Input NIC selection to network device checkbox.
- To set the detection of frozen video, in the Frozen Video Minimal Duration field, specify the default minimal duration in seconds of frozen video after which the Broadcaster will trigger a Frozen video alert. Default: 10 seconds. This setting is supported for Broadcaster version 16.3 and higher.
- To set the detection of blank video, in the Blank Video Minimal Duration field, specify the default minimal duration in seconds of blank video after which the Broadcaster will trigger a Blank video alert. Default: 10 seconds. This setting is supported for Broadcaster version 16.3 and higher.
- Click Save.
RTMP Source Configuration Parameters Table
Parameter | Description |
Info | |
---|---|
Name | Specify a name for the RTMP Source in ZEN Master. |
Tags | Select one or more of the predefined Tags from the drop-down list. Tags are used for access control. By selecting an Tag, you are relating this Source to that Tag. Tags are associated with certain roles (through the Users & Roles screen), and roles, in turn, are associated with users and user groups. If you would like to create a new Tag, see Creating a Tag. |
Events Configuration Profile | Select from the dropdown list the profile that you would like to apply to this Source. By default, the Default profile is applied. Note: Events Profiles consist of a series of rules that determine precisely how various types of Events are logged and what results they trigger. |
Location (Optional) | The Source’s location is used to represent it in the proper position in the Map display (see Maps). By default, the location is determined automatically based on the Source’s IP. Enter identifying info for the location (e.g. street address, zip code, coordinates) and select the desired location from the suggestions that are shown. |
RTMP Configuration | |
Mode | To create an RTMP Source, select the mode used for sending the stream. Options are: Push or Pull. |
URL (for Pull) | Enter the URL of the RTMP server (e.g. rtmp://server/live). |
Stream (for Pull) | Enter the RTMP stream name as defined in the RTMP server. |
Username (for Pull) | Enter the RTMP stream access credentials – Username. |
Password (for Pull) | Enter the RTMP stream access credentials – Password. |
Ignore TLS certificate errors (for Pull) | Select this checkbox if you are sending the stream to a trusted server which does not have a valid certificate. When this option is selected, the Zixi Broadcaster will ignore TLS certificate errors and send the stream to its destination. |
Disconnect idle stream | Verify that this checkbox is selected if you would like to disconnect the stream when the bitrate drops very low. (Default: selected) |
Source Configuration | |
Ingest Cluster | Select from the drop-down list one of the available Ingest Clusters as the destination for the Source. |
Target Broadcaster/s | Select your Broadcaster preferences. Either select a specific Broadcaster to be used OR specify your preference for using primary vs. backup Broadcasters. Options are: Prefer Primary Broadcasters, Primary Broadcasters only, Backup Broadcasters only or Prefer Backup Broadcasters. Note: For managed clusters, it is not recommended to select a specific Broadcaster, as the Broadcaster’s availability may not remain stable. |
PID Mapping Profile (Optional) | If you would like to apply a PID Mapping profile to this Source, then select the desired profile from the dropdown list. |
Public Output | If you would like to allow access to the stream directly through a supported player, select the Allow checkbox. |
Password (for Public Output) | If you selected Allow in the Public Output field, specify a password in this field to authenticate access to the stream. |
Alert on PID changes | If you would like to generate email notifications whenever a PID change is detected, select this checkbox. |
Enable Content Analysis | If you would like to enable Content Analysis (CQA), verify that this checkbox is selected (default). Note: It is generally recommended to enable Content Analysis unless it is causing technical problems. If Content Analysis is disabled, the system won’t detect errors in the video and audio content of the stream and won’t generate warnings for such events. Even when Content Analysis is disabled the system will still detect TR101 errors in the stream. |
Enable Traceroute History | If you would like to show traceroute info in the History tab for this Source (for v13 Feeders), select this checkbox. Note: This feature is most useful for debugging connections with relatively static routes, such as through fiber or other private networks. It should not be activated for Sources sent through cloud providers since those routes constantly fluctuate. |
Log SCTE-35 | Select this checkbox if you would like to log SCTE-35 markers for this stream. Note: To log SCTE-35 markers, SCTE-35 needs to be enabled both on the Ingest Cluster and in the Source configuration. Note: SCTE-35 logging is only available for v13.1.40262+ Broadcasters |
Enable SCTE-35 alerts (for Log SCTE-35) | If you would like to receive alerts for SCTE-35 markers, select this checkbox. |
Disable Auto-Pull | If you would like to disable auto-pull, select this checkbox. Note: Disabling Auto-Pull will lock Channels using this Source to the Source’s Ingest Cluster and Targets to the Source’s current active Broadcaster. This setting only applies to Pass-Through Channels. |
Auto-Pull Latency [ms] | Specify the desired latency for auto-pull actions. (Default: 1,000 ms) |
WebRTC Playback | Select the desired playback method. Note: WebRTC enables you to monitor the stream via web browsers and mobile applications with real-time communication (RTC). WebRTC needs to be activated independently for each Source in ZEN Master (by default it is disabled). Select one of the following options:
Note: Best quality. However, if monitored by multiple users this can consume extensive resources.
Note: This method requires a Zixi Broadcaster with X264 or Nvidia for transcoding. This method allows many users to monitor the stream without encoding separately for each individual user, which saves CPU capacity. Since there is only one stream resolution, it is recommended to encode to a low resolution and low bitrate so that the stream will be viewable by all users monitoring the stream. |
Initial State | |
Disabled | Select this checkbox if you would like to disable this Source upon initial configuration. |
Muted | Select this checkbox if you would like to disable error/recovery notifications for this Source upon initial configuration. |
Advanced | |
Billing Codes | If you would like to track usage for this Source, enter your Billing Code details, see Billing Codes. (Supported for Broadcasters v14.8+) |
Billing Password | Enter the password that corresponds to this billing code. |
Auto-Pull Billing Code | Specify the maximum transmission unit (largest data packet that a network-connected device will accept) in bytes for the Auto Pull. |
Auto Pull MTU | Specify the maximum transmission unit (largest data packet that a network-connected device will accept) in bytes for the Auto Pull. |
Apply Input NIC selection to network device | Select this checkbox to apply Input NIC selection to the network device. |
Frozen Video Minimal Duration | Specify the default minimal duration in seconds of frozen video after which the Broadcaster will trigger a Frozen video alert. Default: 10 seconds. This setting is supported for Broadcaster version 16.3 and higher. For existing sources, you may need to restart the source. |
Blank Video Minimal Duration | Specify the default minimal duration in seconds of blank video after which the Broadcaster will trigger a Blank video alert. Default: 10 seconds. This setting is supported for Broadcaster version 16.3 and higher. For existing sources, you may need to restart the source. |