Intercept and parse the TmrReserve command, send a message to the encoder transport process to query or set the TRS configuration.
- Returns:
- Result of processing the command, as defined by TCmdHandlerResult.
Description:
Display or Modify the current TRS values for ASI REMUX or MPE (multi-protocol Encapsulation).
When modifying this field the actual input rates for ASI and MPE should be known to allocate bandwidth.
These two values will make up part of the overall TMR. Note: The video rate output of the encoder has
precedence and thus ASI REMUX or MPE could fail to output.
Form:
Command Handler: ECMD
TMRRESERVE|TRS|T3 SUBCOMMAND INDEX RESERVED_RATE
SUBCOMMAND - ASI= Reserves portion of TMR for input ASI REMUX
MPE= Reserves portion of TMR for MPE (Multi-protocol Encapsulation)
INDEX - 0= Currently the ONLY index implemented.
RESERVED_RATE - Input any rate below currently set TMR value.
Response:
TMRRESERVE RESPONSE
Verbose- "OK\r\n" to acknowledge receipt of command, or
"ERROR- [Description]\r\n" if error, ending command
Terse- "0\r\n" to acknowledge receipt of command, or
"[NON-ZERO NUMERIC VALUE]\r\n" if error, ending command
"\r\n" concludes modify responses (empty line)
Examples:
Verbose:
Get current rate for TRS
*.ECMD TRS ASI
OK
AsiMuxTmrReserve= 45000000
*.ECMD TRS MPE
OK
MpeTmrReserve= 0
Set TRS rate
*.ECMD TRS ASI 0 50000000
AsiMuxTmrReserve= 50000000
*.ECMD TRS MPE 0 50000000
MpeTmrReserve= 50000000
Terse:
Get current rate for TRS
*.ECMD T3 ASI
45000000
*.ECMD T3 MPE
50000000
Set TRS rate
*.ECMD T3 ASI 0 45000000
*.ECMD T3 MPE 0 50000000
Notes: