ZEC Adding HTTP Push Outputs
5 min
the http push output stream can be encapsulated in hls or dash the source of the output stream is a predefined adaptive group that has been configured in the zec adaptive groups docid\ sqeq8byk c8re1pbf7rtv screen the configuration of the stream includes the option to delete outdated stream fragments on the server scte 35 markers in the source input will be preserved and used to segment the stream for both hls and dash encapsulation output streams can be pushed to one zec or multiple zecs the path to the destination can be formed in one of the following ways full path – in this option, the path would be constructed as follows \<base url>/\<path>/\<file>?< additional params may be also with path and file> path in parameters in this option, the path would be constructed as follows \<base url>?< additional params may be also with path and file> flat path in this option, the path would be constructed as follows \<base url>/\<path> \<file>?< additional params may be also with path and file> any "/" in path should be replaced with " " low latency hls zec supports low latency hls delivery using chunked transfer encoding, which starts sending an http response as chunks of data when they are ready before the complete response is available chunked transfer encoding can be used with transport stream (ts) segments and with fragmented mp4 (fmp4) for low latency hls and dash, zec must be used as an origin server to enable low latency hls and dash, select enable hls fast playback on the settings > live protocols screen to create an http push output in the zec outputs page, click + new output the new output window is displayed select the http push option (radio button) type in the unique identifier for this output in the output name select an input adaptive group to be made available on this output from the adjacent drop down list to create an adaptive group, see zec adaptive groups docid\ sqeq8byk c8re1pbf7rtv select the show in matrix check box to display this stream in the matrix (see zec using the matrix docid\ ofxethpsuo9eimqpwfzea ) default selected select the log this stream checkbox if you would like to generate event logs for this output specify the output parameters (see output stream parameters table docid\ utfioh bkmmrn5mwvhrmn below) if your destination server requires authorization credentials to connect, select the authorization checkbox click ok the new http push output with its settings is created and now appears on the screen output stream parameters table parameter description output parameters encapsulation options hls encapsulation the output stream, which includes all the streams in the selected adaptive group, will be encapsulated in http live streaming format dash/fmp4 hls encapsulation the output stream, which includes all the streams in the selected adaptive group, will be encapsulated in mpeg dash format target url depending on the selection in the segment path field below, this field should include the following full path – \<base url>/\<path>/\<file> path in parameters in this option, the path would be constructed as follows \<base url> flat path in this option, the path would be constructed as follows \<base url>/\<path> \<file> additional url parameters depending on the selection in the segment path field below, this field should include the following full path – ?\<additional params may be also with path and file> path in parameters ?\<additional params may be also with path and file> flat path ?\<additional params may be also with path and file> any "/" in path should be replaced with " " url parameters support macros as follows %path% file path as it appears in the playlist %file% file name delete outdated stream fragments from server select this checkbox to delete any outdated stream fragments from the server upload dvr playlist select this checkbox if you are streaming a recorded/vod stream and you want to upload a dvr playlist in addition to the live playlist segment path select one of the following path segmentation types full path – in this option, the path would be constructed as follows \<base url>/\<path>/\<file>?\<additional params may be also with path and file> path in parameters in this option, the path would be constructed as follows \<base url>?\<additional params may be also with path and file> flat path in this option, the path would be constructed as follows \<base url>/\<path> \<file>?\<additional params may be also with path and file> any "/" in path should be replaced with " " ignore tls certificate errors select this option when streaming to a trusted server that does not have a valid certificate when this option is selected, zec will ignore the tls certificate errors and transmit the stream to its destination authorization select this checkbox if your destination server requires authorization credentials to connect method select one of the following authorization methods basic authorization digest authorization oauth2 authorization username type the username password type the password 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 zec 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 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 output parameters use post method select this option to upload segments/playlists to the origin/cdn using http post applicable when your origin/cdn doesn't accept put and requires post when disabled uploads with http put , which is the standard webdav style file upload and works with most origins/cdns upload type add custom http headers name the name of the http header to include in the request (e g , authorization ) value the value to send for the selected header (e g , bearer eyjhbgcioi )

