Playing media in mm-renderer requires configuring a context,
attaching outputs and an input, and then issuing playback commands. These actions are all
done with function calls to the Multimedia Renderer Client API.
To play media in
mm-renderer:
-
Connect to mm-renderer using the function
mmr_connect().
-
Create a new context and set the appropriate context parameters. Use the functions
mmr_context_create()
and mmr_context_parameters().
-
Attach an output and set its output parameters. Use the functions
mmr_output_attach()
and mmr_output_parameters().
You can attach multiple outputs.
-
Attach the input and set the input parameters. Use the functions
mmr_input_attach()
and mmr_input_parameters().
-
Start playback for the context by calling
mmr_play().
The media starts to play.