![]() |
![]() |
![]() |
![]() |
Request that a media store be restarted
#include <mme/mme.h> int mme_ms_restart( mme_hdl_t *hdl, uint64_t msid );
mme
The function mme_ms_restart() causes the specified mediastore to go through an “active” to “nonexistent” transition, followed by an insertion to the “active” state.
When the state of a mediastore changes from another state to “nonexistent”, the MME always prunes the entries for that mediastore from its database, no matter what the pruning configurations. Thus, when mme_ms_restart() is successful, when the mediastore restarts it appears to the MME as a new mediastore, and the MME assigns it a new mediastore ID.
![]() |
mme_ms_restart() is:
|
None delivered.
This function validates the request and runs asynchronously, so it may fail after returning success. The calling application must examine the mediastore state change events to determine if the entire operation finished successfully.
Calls using that MME handle used by mme_ms_restart() will fail until the operation is complete, even if the call to mme_ms_restart() has returned.
QNX Neutrino
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | Yes |
“Mediastore states” in the chapter Working with Mediastores of the MME Developer's Guide
![]() |
![]() |
![]() |
![]() |