AMX MAX-CSD 10, MAX-CSE manual MAX-CSDStreaming Send_Commands Cont, NetLinx Programming

Models: MAX-CSD 10 MAX-CSE

1 110
Download 110 pages 20.97 Kb
Page 91
Image 91
This command will retrieve

 

NetLinx Programming

 

MAX-CSD Streaming Send_Commands (Cont.)

 

 

Command

Description

 

 

GET SESSION INFO

Session information is extracted from the SAP Listener or RTSP depending on

This command will retrieve

system configuration.

 

the selected session details.

Syntax:

 

SEND_COMMAND <DEV>, 'GET SESSION INFO <num> <Field>'

 

Variables:

 

Num = 1 to N where N is the number of current sessions.

 

Field = TITLE - returns the title of the media

 

Field = DESC - short description of media

 

Field = IPADDR - ip address of streaming source

 

Field = URI - URL to media web pages

 

Field = CONTACT - Name of responsible party

 

Field = EMAIL - Email address of owner of stream

 

Field = PHONE - Phone number of contact

 

Field = MEDIACNT - Number of streams

 

Field = MEDIA1 - 1st stream info line

 

Field = MEDIA2 - 2nd stream info line

 

Field = MEDIA3 - 3rd stream info line

 

Field = MEDIA4 = 4th stream info line

 

Field = MEDIAN = Nth stream info line where N is the number of streams

 

returned in the MEDIACNT Field.

 

Example:

 

SEND_COMMAND DECODER, 'GET SESSION INFO 1 TITLE'

 

SEND_COMMAND DECODER, 'GET SESSION INFO 2 TITLE'

 

SEND_COMMAND DECODER, 'GET SESSION INFO 2 MEDIA1'

 

SEND_COMMAND DECODER, 'GET SESSION INFO 2 MEDIA2'

 

System response:

 

SESSION INFO 1 TITLE=TERMINATOR

 

SESSION INFO 2 TITLE=BAMBI

 

SESSION INFO 2 MEDIA1=MPEG4-VIDEO

 

SESSION INFO 2 MEDIA2=AAC-AUDIO

 

 

GET SESSION LIST

The session list can be populated by SAP or RTSP. If the system is configured

Updates the session list and

for SAP then the number sessions available will range from 0 to N. If the sys-

tem is configured for RTSP then the number of sessions available will range

return the number of sessions

available.

from 0 to 1.

Syntax:

 

 

SEND_COMMAND <DEV>, 'GET SESSION LIST'

 

Example:

 

SEND_COMMAND DECODER, 'GET SESSION LIST'

 

System response:

 

SESSION LIST=16

 

 

GET STREAM STATUS

The system will either return 'IDLE' or 'STREAMING'

Returns the stream status.

Syntax:

 

SEND_COMMAND <DEV>, 'GET STREAM STATUS'

 

Example:

 

SEND_COMMAND DECODER, 'GET STREAM STATUS'

 

System response:

 

STREAM STATUS=STREAMING

 

 

MAX-CSE/MAX-CSD10 Operation/Reference Guide

85

 

 

Page 91
Image 91
AMX MAX-CSD 10, MAX-CSE manual MAX-CSDStreaming Send_Commands Cont, NetLinx Programming, This command will retrieve