The mm-renderer service listens for commands from the HMI on this control object
Command | Parameters |
---|---|
commandSend |
|
contextClose | ctxt (the context handle) |
contextCreate |
|
contextDestroy | ctxt (the context handle) |
contextOpen | name (the context name) |
contextParameters |
|
inputAttach |
|
inputDetach | ctxt (the context handle) |
inputParameters |
|
listChange |
|
outputAttach |
|
outputDetach |
|
outputParameters |
|
play | ctxt (the context handle) |
seek |
|
speedSet |
|
stop | ctxt (the context handle) |
trackParameters |
|
Suppose you want to attach an input to a context and play the track /macqnx/RCPS_SuckerPunchTH_M2_TestFile.mpg. You would write this command to the control object:
echo 'msg::inputAttach\ndat:json:{"ctxt":0,"url":"/macqnx/RCPS_SuckerPunchTH_M2_TestFile.mpg","type":"track"}' >> /pps/services/multimedia/renderer/control