|
Re: Finding mediastores and their states
|
10/24/2011 8:46 AM
post89569
|
Re: Finding mediastores and their states
You can query the MME mediastores tables in the database. Each mediastore
has a state (active or unavailable) which will tell you if it is currently
inserted or not.
Alternatively, in your mme.conf, there is this setting:
<!-- Controls whether or not devices are automatically detected
by the MME. This is independent of synchronization. -->
<!--<DeviceDetection enabled="true"/>-->
If you uncomment the DeviceDetection and set it to false, I.e.:
<DeviceDetection enabled="false"
The MME, when it starts, won't monitor devices. Instead, once your app is
running, you can connect to the MME, register for events and then issue
mme_start_device_detection(), this way you won't miss any of the
statechange events.
Regards,
Gilles
|
|
|