Adding RTMP Streams
6 min
this enables you to create a push or pull input stream to add an rtmp stream in the zixi broadcaster navigation menu, click the inputs tab in the menu bar, click new input and select rmtp as the type the add a new input stream window is displayed new rmtp push input note that if you switch the rmtp type from push to pull , the options will change new rmtp pull input enter the unique stream i d note this must be identical (case sensitive) to the stream name configured in zec select the maximum concurrent connections to this stream from the max outputs drop down list default unlimited select the show in matrix check box to display this stream in the matrix (see using the matrix docid\ bp6mo9f2qbxmu6gurkog4 ) default selected select the log this stream checkbox if you would like to generate event logs for this input select the analyze checkbox if you would like to enable stream analysis for the input specify the stream parameters (see input stream parameters table docid\ md053ccswub55mj886zlv ) if you want to specify billing codes to identify and differentiate traffic on a zixi broadcaster for billing purposes, select this checkbox ( see input stream parameters table docid\ md053ccswub55mj886zlv below) if you want to enable time shift , select this checkbox ( see input stream parameters table docid\ md053ccswub55mj886zlv ) if you want to enable multicast on pull outputs , select this checkbox ( see input stream parameters table docid\ md053ccswub55mj886zlv ) if you want to enable encryption , select this checkbox ( see input stream parameters table docid\ md053ccswub55mj886zlv ) for more information, see encrypting an input stream in zixi broadcaster docid\ v3ryrbn08r4cojwl wvoq if you want to configure the recording parameters , specify them in the respective fields ( see input stream parameters table docid\ md053ccswub55mj886zlv ) click ok the “input added” message appears at the top of the screen the rtmp stream is added to the zixi broadcaster and now appears in the list of streams available in the zixi broadcaster inputs ui input stream parameters table parameter description stream parameters type select the desired type for the rtmp stream push – the stream is pushed to the zixi broadcaster (not initiated by the zixi broadcaster) no additional connection parameters need to be filled if the stream name matches, the stream will be input pull – zixi broadcaster will initiate the stream by accessing it through the following parameters push parameters bind to ip select from the drop down list the local ip address to be used for this input, or select any to enable any ip to be used disconnect if inactive select this checkbox to disconnect if the stream is not active for 30 seconds mpeg ts multiplexing bitrate \[kbps] if the stream's bitrate fluctuates, you can pad the stream with null packets to create a steady bitrate specify the padding level in kbps smoothing latency \[ms] the smoothing feature uses a buffer to time packets according to the stream's clock this is useful when there are bursts in the rate at which the stream arrives the smoothing feature creates a queue in the buffer, allowing smoother entry into the broadcaster the smoothing parameter defines the size of the buffer in milliseconds a larger buffer enables smoother entry; however, it may influence the latency rate pull parameters url type the stream url from which the zixi broadcaster will access use the following url format rtmp\ //host \[port]/app/stream you can define rtmps clients with the proven security of a secure socket layer (ssl), by using the rtmps\ // url stream name type the unique name for the stream that has been defined in the rtmp server user name specify the user name to authenticate on the remote rtmp server password specify the password that is used for authorization on the remote rtmp server bind to ip select from the drop down list the local ip address to be used for this input, or select any to enable any ip to be used ignore tls certificate errors select this option when connecting to a trusted server that does not have a valid certificate when this option is selected, zixi broadcaster will ignore the tls certificate errors disconnect if inactive disconnects the connection if inactive mpeg ts multiplexing bitrate \[kbps] if the stream's bitrate fluctuates, you can pad the stream with null packets to create a steady bitrate specify the padding level in kbps smoothing latency \[ms] the smoothing feature uses a buffer to time packets according to the stream's clock this is useful when there are bursts in the rate at which the stream arrives the smoothing feature creates a queue in the buffer, allowing smoother entry into the broadcaster the smoothing parameter defines the size of the buffer in milliseconds a larger buffer enables smoother entry; however, it may influence the latency rate billing codes billing codes are used to identify and differentiate traffic on a zixi broadcaster for billing purposes when a billing code is added to a source or target, zixi can track the traffic on that broadcaster input or output separately from other inputs and outputs on the same broadcaster billing codes are created by zixi personnel on the zixi customer portal for a particular organization billing code enter the billing code that corresponds to this stream the relevant billing can be obtained from the organization that received the billing code from zixi billing password enter the password that corresponds to this billing code enable time shift select this checkbox to record the stream content and broadcast it after a specified delay to deploy an input stream that uses the current stream's time shift, you need to configure a "delayed" input stream, see adding delayed streams docid\ zp5ql 5kthhdphmrhddhe maximum delay \[hh\ mm\ ss] (for time shift enabled) specify the maximum time delay of this input enable multicast on pull outputs select this checkbox to enable the transmission of this stream’s outputs as multicast a zixi receiver that will pull the stream will receive it in multicast by default, zixi broadcaster is configured to allow transparent fallback to unicast if it is out of the lan requires enabling multicast pull in the settings multicast only (for multicast enabled) select the check box to force only multicast outputs enable encryption select this checkbox to encrypt the input stream the stream encryption prevents any further processing, such as analysis, transcoding, etc the encryption works in the following way if the stream has been encrypted at the source the stream will remain encrypted regardless of the output type zixi broadcaster can only encrypt the stream after it has been decrypted if the stream is being encrypted by the zixi broadcaster it will be encrypted only if the output is a zixi pull or zixi push output all other outputs will send out an unencrypted stream for more information, see encrypting an input stream in zixi broadcaster docid\ v3ryrbn08r4cojwl wvoq encryption type (for encryption enabled) specify the type of encryption (aes 128/192/256) encryption key (for encryption enabled) click generate to generate an encryption key the generated encryption key must be sent to the end user to decipher the received encoded stream recording parameters select this checkbox to customize the recording parameters destination type select the radio button for the desired storage type and then fill in the relevant parameters record to disk – the recording is saved on the local disk it is possible to record to an external destination by replacing the default storage location with a symbolic link to learn more, see the using an external storage docid\ z2amp6 fj7crckkfqrthq section record to s3 – the file is saved to your aws s3 bucket the mechanism uses aws multipart upload amazon advises defining a lifetime rule for objects in the destination bucket record to disk parameters file name template specify the file name pattern that zixi will use to generate when saving the recorded content a separate file will be generated for each recording up to the time specified in the max recorded file duration parameter (see above) after this duration, a new file will be generated the file name pattern can include any string and up to five variables listed below only the %t=hh mm ss creation time is mandatory you can change the order of these variables and add text as long as you maintain the legitimate structure of the file in linux and windows %s=stream id optional %y=year optional %m=month optional %d=day optional %t=hh mm ss creation time mandatory %u=yyyymmddthhmmssz utc timestamp optional for example, the following pattern %y recording%t ts will generate the following file name 2017 recording15 32 35 ts max recorded file duration \[hours] specify the maximum time allotted for recording a video stream default 2 hours keep recorded files for \[hours] specify the maximum time for storing the recording default 0 hours custom path optionally specify a storage location for the recorded files that is relative to the root folder this location bypasses the location specified as the root folder in the settings > general screen record to s3 parameters file name template specify the file name pattern that zixi will use to generate when saving the recorded content a separate file will be generated for each recording up to the time specified in the max recorded file duration parameter (see above) after this duration, a new file will be generated the file name pattern can include any string and up to five variables listed below only the %t=hh mm ss creation time is mandatory you can change the order of these variables and add text as long as you maintain the legitimate structure of the file in linux and windows %s=stream id optional %y=year optional %m=month optional %d=day optional %t=hh mm ss creation time mandatory %u=yyyymmddthhmmssz utc timestamp optional for example, the following pattern %y recording%t ts will generate the following file name 2017 recording15 32 35 ts max recorded file duration \[hours] specify the maximum time allotted for recording a video stream default 2 hours url specify the url of the s3 bucket ignore tls certificate errors tls certificate for s3 bucket might be detected as faulty if bucket name contains dot\[s] when this option is selected, zixi broadcaster will ignore the tls certificate errors and transmit the stream to its destination access key the access key that is used for accessing the s3 bucket secret key the secret key that is used for accessing the s3 bucket advanced mode the fields discussed below are optional and available only in advanced mode to enter advanced mode add the url parameter ?advanced=1 to the zixi broadcaster url in your browser and press enter/return to reload the page note the advanced mode settings are generally intended for advanced users and special cases if you do not understand the settings, you should probably accept the default values rtmp advanced mode general latency offset \[ms] specify the additional buffering time in milliseconds increasing this value can improve stream stability in unstable network conditions, but will increase end to end delay default 0 ms support injection select this checkbox if you would like the stream to support scte 35 insertion scte 35 pid enter a pid number for scte 35 injection you can enter a value manually or use the up/down arrows that appear when clicking the field (or leave as auto to match existing scte 35 pid) inject metadata select this checkbox to insert metadata into the stream remove old scte 35 packets if scte 35 injection is supported, select this checkbox to clear out existing packets timeout for time in ms to wait for a null packet to inject scte 35 into stream parameters max bitrate \[kbps] specify the maximum expected bitrate for memory allocation recommended 2x the actual bitrate, which will prevent buffer overruns (especially with vbr streams) default 8000 note – overflows will typically occur when the max bitrate isn’t sufficient the max bitrate parameter in a zixi push output is not enforced as a hard limit it is used as a guideline for transport, buffering, and pacing, but zixi does not actively throttle or drop packets to keep the stream below this value as a result, the actual bitrate may exceed the configured max bitrate, especially with variable bitrate content or bitrate bursts to enforce a strict bitrate limit, this must be controlled at the encoder level or via external network traffic shaping/qos mechanisms we recommend that you set the max bitate to twice the actual (average) bitrate see high max bitrate configuration docid\ ijrn4v8zgysjokxevckhx compression enables bandwidth optimization by replacing null packets with signaling information embedded in packet headers this reduces the overall bitrate without affecting content integrity since not all receivers support this compression method, it is optional the system can receive compressed streams, but will only transmit compressed data when this option is explicitly enabled fast connect enables faster session establishment by reducing the time required to initiate the rist connection this is useful in environments where rapid recovery or quick stream startup is required support for this feature may vary depending on the receiving endpoint enable multicast on pull outputs custom multicast address select this checkbox to manually define a specific multicast ip address and port for the output stream, overriding the system's global multicast pool settings multicast ip enter the multicast ip address port specify the port to listen on this port must be open on all firewalls between the zixi broadcaster and other devices it is communicating with

