MediaServerPrivObject* priv = static_cast<MediaServerPrivObject*>(JSObjectGetPrivate(object));
if (!priv)
{
+ LoggerD("Create private object");
MediaServerPtr mediaserver(new MediaServer());
priv = new MediaServerPrivObject(context, mediaserver);
if(!JSObjectSetPrivate(object, static_cast<void*>(priv)))
MediaServerManagerPrivObject* priv = static_cast<MediaServerManagerPrivObject*>(JSObjectGetPrivate(object));
if (!priv)
{
+ LoggerD("Create private object");
MediaServerManagerPtr mediaservermanager(new MediaServerManager());
priv = new MediaServerManagerPrivObject( context, mediaservermanager);
if(!JSObjectSetPrivate(object, static_cast<void*>(priv)))
MediaServer::MediaServer()
:EventRequestReceiver<EventMediaServerPropertyChanged>(ThreadEnum::APPLICATION_THREAD)
{
+ LoggerD("Entered MediaServer::MediaServer");
proxy = NULL;
}
*/
void MediaServer::setProxyPath(std::string path)
{
+ LoggerD("Entered MediaServer::setProxyPath " << path);
if (proxy)
/* free upn_pdevice proxy */
g_object_unref(proxy);
MediaServerManager::MediaServerManager()
:EventRequestReceiver<EventMediaServerManagerPropertyChanged>(ThreadEnum::APPLICATION_THREAD)
{
+ LoggerD("Entered MediaServerManager::MediaServerManager");
proxy = NULL;
}