Synopsis
A source is an incoming unicast or multicast MPEG-TS video stream that can be viewed or recorded after it has been added to a Session. The sources API is used to create and manage the streaming A/V sources to be available for content creators to view and capture.
Source Parameters
|
Property |
JSON Type |
Property Type |
Description |
|---|---|---|---|
|
|
String |
Required |
Source name. |
|
|
String |
Required |
Source type, either UDP or SRT. |
|
|
String |
Required, for multicast UDP, SRT caller, or SRT rendezvous Optional, when multicast is false |
Hostname of the source. |
|
|
Number |
Required |
Port number. |
|
|
Boolean |
Required if type is UDP |
True: source is a multicast stream .
|
|
|
String |
Immutable |
Identifies the source, generated by HMP. |
|
|
Boolean |
Ignored |
Whether stream data is available. |
|
|
Number |
Ignored |
Bitrate at which source is sending data. |
|
|
Number |
Ignored |
Source creation time: Unix timestamp (seconds). |
|
|
Number |
Ignored |
Source last modified time: Unix timestamp (seconds). |
|
|
String |
Optional |
Source description |
|
|
Boolean |
Optional, value forced to true for SRT |
Default is false. |
|
|
String |
Required, if type is SRT |
The SRT Connection Mode, either CALLER, LISTENER, or RENDEZVOUS. |
|
|
Number |
Optional |
Configured latency for SRT in milliseconds. |
|
|
String |
Optional |
Encrypted SRT passphrase. |