![AMX MAX-CSD 10 Operation And Reference Manual Download Page 84](http://html1.mh-extra.com/html/amx/max-csd-10/max-csd-10_operation-and-reference-manual_2938532084.webp)
NetLinx Programming
78
MAX-CSE/MAX-CSD10 Operation/Reference Guide
MAX-CSE Streaming Send_Commands (Cont.)
Command
Description
GET SESSION INFO
Retrieves the selected ses-
sion details.
Session information is extracted from the SAP Listener or RTSP depending on
system configuration.
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 ENCODER, 'GET SESSION INFO 1 NAME'
SEND_COMMAND ENCODER, 'GET SESSION INFO 2 NAME'
SEND_COMMAND ENCODER, 'GET SESSION INFO 2 MEDIA1'
SEND_COMMAND ENCODER, 'GET SESSION INFO 2 MEDIA2'
System response:
SESSION INFO 1 NAME=TERMINATOR
SESSION INFO 2 NAME=BAMBI
SESSION INFO 2 MEDIA1=MPEG4-VIDEO
SESSION INFO 2 MEDIA2=AAC-AUDIO
GET SESSION LIST
Updates the session list and
return the number of sessions
available.
The session list can be populated by SAP or RTSP. If the system is configured
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
from 0 to 1.
Syntax:
SEND_COMMAND <DEV>, 'GET SESSION LIST'
Example:
SEND_COMMAND ENCODER, 'GET SESSION LIST'
System response:
SESSION LIST=16
GET STREAM STATUS
Returns the stream status.
The system will either return 'IDLE' or 'STREAMING'
Syntax:
SEND_COMMAND <DEV>, 'GET STREAM STATUS'
Example:
SEND_COMMAND ENCODER, 'GET STREAM STATUS'
System response:
STREAM STATUS=STREAMING
Summary of Contents for MAX-CSD 10
Page 6: ...iv MAX CSE MAX CSD10 Operation Reference Guide Table of Contents...
Page 14: ...MAX CSD10 Video Decoder 8 MAX CSE MAX CSD10 Operation Reference Guide...
Page 24: ...MAX CSE and MAX CSD10 Installation 18 MAX CSE MAX CSD10 Operation Reference Guide...
Page 80: ...Displaying Stream Content 74 MAX CSE MAX CSD10 Operation Reference Guide...
Page 108: ...NetLinx Programming 102 MAX CSE MAX CSD10 Operation Reference Guide...
Page 109: ...Programming 103 MAX CSE MAX CSD10 Operation Reference Guide...