Configuring A/V Services Using SNMP
SNMP Syntax for Setting Up Streams
Makito
X User’s Guide, v2.2, Issue 02
245
SNMP Syntax for Setting Up Streams
The Haivision Audio/Video Transport Stream MIB (HAI-AVT-STREAM-MIB) is
composed of multiple tables described below.
MIB object names and values are similar to their CLI parameter counterparts while
following MIB syntax (for example,
haiAvtStreamPort
for port,
directRtp
for direct-
RTP).
Streams are created and deleted using the SNMPv2 RowStatus object
(
haiAvtStreamRowStatus
). All RowStatus values are supported (
active
,
notInService
,
notReady
,
createAndGo
,
createAndWait
,
destroy
). See the descrip-
tion in the SNMPv2-TC.txt file of the MIBs directory. Stream writable objects can only be
set at creation time (RowStatus is
createAndGo
or
createAndWait
) or while the stream
is not active (RowStatus is
notInService
or
notReady
).
Objects from the
haiAvtStreamPgmTable
and
haiAvtStreamContentTable
cannot be
set before the corresponding
haiAvtStreamTable
row is created and can only be set when
the stream entry is not active (
haiAvtStreamRowStatus
is not active).
The following example, using
netsnmp
CLI commands on the Makito
X, creates a
streaming session to IP Address
198.51.100.106
at port 2000, and starts streaming
immediately. The Stream ID
0
(
haiAvtStreamTable
index) is used to create a stream; this
Table
Index
Description
haiAvtStreamNewID.0
none
Next available stream ID
haiAvtStreamInverseTable
IP address type
IP address
Port
Table to retrieve the stream
ID from the IP address and
port
haiAvtStreamTable
Stream ID
Stream configuration and
status
haiAvtStreamStatsTable
Stream ID
Stream statistics
haiAvtStreamPgmTable
Stream ID
Program Index
Transport Stream programs.
Only SPTS (Single Program
Transport Stream) supported.
Not present for non Transport
Streams (directRTP,
QuickTime).
haiAvtStreamContentTable
Stream ID
Program Index
Content Index
Contents (video, audio,
and/or metadata). Elementary
Streams (ES) for Transport
Stream. Only one entry for
non-TS in which case
Program Index is 1. One to
three entries exist for
Transport Streams.