Skip to main content
Version: v2.12.0

Live Sessions

The Live Sessions can be viewed by clicking the Live Sessions tab.

Live Sessions Over View

Overview

The live sessions table displays the following information. There is also the ability to search for a specific encoding session.

Live Sessions Table

NameDescription
StatusCurrent status of the encoding sessions
Encoding InformationDisplays the encoding session name and descriptions, along with an cover graphic (optional)
Input URLThe Input URL address for the encoding session
TemplateTemplate used for the first configured output. The user can click on the template name to navigate to template page for more details.
Output URLThe Output URL address for the first configured output. If additional outputs have been configured, the user can click See Additional Outputs to view them.
MessageThe current error or warning message, if any.
tip

If the user hover's the mouse over the URL address, the full address will be displayed.

tip

The user can also click the URL address to copy the address to the computers clipboard.


Action Icons

The user can use the mouse to hover over the encoding session row to display "action" icons, to start, stop and delete the encoding session.

Live Sessions Action

NameDescription
edit iconClick to edit the encoding session, this will navigate the Encoding Details page
start iconClick the Start Icon, confirmation dialog will be displayed
delete iconClick to delete the encoding session, confirmation dialog will be displayed
stop iconClick to stop the encoding session, confirmation dialog will be displayed
select iconSelect the encoding session to perform a bulk operation
failover iconClick to failover to the alternate input path. Applies to specific inputs only.

Selecting Sessions

There are two options to select encoding sessions to perform bulk actions or changes.

Option 1

Select individual encoding sessions, but using the selection check box in the status column. The checkbox icon is present when the user hovers over the row with mouse or when it has been selected.

selection-row

Option 2

Using the select all check box located in the title row of the table.

select-all

View Selected Sessions

When one or more encoding session has been selected and total selected sessions are displayed.

selected sessions

The user can view a list of all selected sessions by clicking on the selected session icon, a dialog box will display showing all the selected sessions. The user has ability to remove selected sessions or clear all the selected sessions.

view selected sessions


Bulk Changes

Bitstreams has the ability to perform bulk changes or actions across multiple encoding sessions

Clear All Warnings

clear all warnings

The Clear All Warnings can be used to clear all the warning appearing in the Message column. Once the Messages are cleared the cleared messages can be viewed in the Alerts section on the encoding details page.

note

Some warnings may appear multiple times even after they have been cleared. Recurring warnings will have to be cleared each time.


Start/Stop Multiple Sessions

start-stop

The user can also select individual rows to choice which encoding sessions they want to either start or stop. The Start can be used to start all streams that are selected an in a "Stopped" state. The Stop can be used to stop all selected streams that are NOT in a "Stopped State".


Switch to Input A/B

switch-a/b

For inputs that support selecting to an alternate input path, using these buttons to force switching to either Path A or Path B.


Delete

Bulk Delete

Delete all encoding sessions that are in a Stopped state.


CSV Import / Export

Bitstreams has the ability to bulk-create live encoding sessions by importing a CSV file, as well as export existing sessions to CSV. This can be used to manage many sessions at once without configuring each one individually in the GUI.

Export

CSV Export and Import buttons

The Export All CSV can be used to download all live encoding sessions as a CSV file. When sessions have been selected, the button changes to Export Selected CSV and only the selected sessions are exported.

The exported file starts with a header row, then a release info row, then one row per session. The first column is comment and is empty for normal data rows. Sessions that cannot be re-imported as-is are still exported, but the comment column is populated with Comment - <reason> so the row is skipped on re-import. This applies when:

  • the session has more than one region
  • the session has more than one playback (output)
  • the session has no playbacks
  • the input or output type is not supported by CSV (see lists below)
  • the session has stream remap enabled
tip

To see how a setting maps to a CSV column, configure a single encoding session in the GUI and export it. The exported file shows which columns are populated for that input/output combination and how their values are formatted.

Import

CSV Import success

The Import CSV can be used to bulk-create live encoding sessions from a CSV file. The user uploads a CSV file containing one row per session to be created. The header row is validated against the required headers below. Matching is case-insensitive and whitespace is trimmed. Each non-comment, non-blank row is then validated, and if every row is valid all sessions are created. The CSV Import Results dialog lists each created session by name and stream ID.

CSV Import errors

warning

Import is create-only and all-or-nothing. If any row fails validation, the entire job is rejected and no sessions are created. The CSV Import Results dialog returns a per-row error report identifying the failing row, column, value, and message so the CSV can be corrected and re-uploaded.

tip

To make bulk adjustments to existing sessions, Export All CSV, edit the rows in the CSV file, bulk delete the original sessions, and then import the edited CSV. Imports only create new sessions, so the originals must be removed first.

Required Headers

HeaderDescription
nameSession name. Not case sensitive, no duplicates.
input_typeOne of the supported input types listed below.
output_typeOne of the supported output types listed below.
output_namePlayback / output name.
template_nameTemplate name. Not case sensitive, no duplicates.

Optional Headers

HeaderApplies ToDescriptionExample
descriptionanyOptional session description.Channel 5 HD
input_urls-auser-defined inputsPrimary input URL.udp://239.1.0.134:5000
input_urls-bmulticast_pull onlyFailover URL. Presence enables failover mode.udp://239.1.0.134:5001
input_settings-failover_recovery_interval_secondsmulticast_pull failoverSelects the recovery mode. Set to -1 to Remain on Input B (do not switch back). Set to a value >= 120 to enable Recovery attempts to Input A, where the value is the interval in seconds between attempts.120
input_settings-failover_error_threshold_percentmulticast_pull failoverFloat between 0.01 and 100.0.3.0
input_settings-custom_stream_keysrt_push, rtmp_pushCustom stream key.myStreamKey
input_settings-srt_passphrasesrt_push with encryptionSRT passphrase.
input_settings-enable_hls_scte35_passthroughhls_pullTRUE to enable.TRUE
input_settings-enable_slatesanyTRUE to enable slates.TRUE
input_settings-enable_srt_encryptionsrt_pushTRUE to enable encryption.TRUE
output_settings-enable_hlshttp outputTRUE to enable HLS.TRUE
output_settings-enable_dashhttp outputTRUE to enable DASH.TRUE
output_settings-service_providermulticast, srt_pushService provider name.NETINT
output_settings-program_numbermulticast, srt_pushPresence implies MPEG-TS enabled.259
output_settings-formatfile outputmkv or mp4.mkv
output_settings-max_file_duration_secondsfile outputMultiple of 300 between 300 and 43200.300
output_urlsnon-HTTP outputsOne URL per template output resolution, separated by whitespace. For file output, the file path. For cmaf_push, one base URL.udp://239.1.10.134:5001 udp://239.1.20.134:5001

Supported Input Types

multicast_pull, hls_pull, dash_pull, rtsp_pull, srt_pull, rtp_pull, srt_push, rtmp_push.

note

capture_card and rtmp_pull inputs are not supported by CSV.

Supported Output Types

http, srt_push, rtmp_push, multicast, cmaf_push, file.

note

mediapackagev2, whip, and capture_card outputs are not supported by CSV.

Limitations

  • Single region per session. Multi-region sessions cannot be imported, and are exported as comment rows.
  • Single playback per session. Sessions with multiple playbacks are exported as comment rows.
  • Stream remap is not supported. Sessions with remap enabled are exported as comment rows.
  • Boolean values must be TRUE or FALSE (case-insensitive).