Technical Documentation “Instreamer “ - V4.03 - 24th October 2013
2 Software Application Interface
2.1 Control Interface Description
• 0xnn means a hexadecimal number.
• means 0x0D 0x0A 0x00 on answers. On requests could be one or more of the following codes/bytes: 0x0D, 0x0A, 0x00.
• The answers are only echoed to the origin source of the command (not to the other interfaces).
• The answer can by selected by concatenate the L command to the command. If no special answer is requested the file ack.ack will be sent back.
• The answer files can be edited and changed to your needs (see 2.12 Own skins and web interface).
• The standard answers are designed as XML.
• All strings and everything else are case sensitive.
• All commands are asynchronous to the stream.
• One command mustn't exceed 1024 bytes even it is concatenated.
2.2 Concatenate Control Commands
• To concatenate control commands use &. The commands will be executed from left to right in sequence (not parallel). The must only be placed at
the end of the whole command and not after each separate command.
• To start talking and set volume to 12 use: c=83&v=12
• This is useful in the init sequence, in UDP commands or the define the answer. The init sequence is based on the serial command interface.
2.3 Formats supported
• Streams MP3, G.711 (uLaw/aLaw 8/24 kHz) and PCM (Motorola 16Bit 8/24 kHz).
MP3Pro files can be streamed but without the additional quality of MP3Pro.
• Encodes to MP3 (CBR and/or VBR depending on HW), G.711 (uLaw/aLaw 8/24 kHz) and PCM (Motorola 16Bit 8/24 kHz).
• The file extension of the audio file in the web application must be for uLaw 8 kHz u8, for uLaw 24 kHz u24, for aLaw 8 kHz a8, for aLaw 24 kHz a24,
for PCM 8 kHz p8, for PCM 24 kHz p24 and for MP3 mp3. All extensions are case sensitive except mp3.
6 Software Application Interface Software Application Interface 6
Comentarios a estos manuales