org.mobicents.javax.media.mscontrol
Class MsControlFactoryImpl

java.lang.Object
  extended by org.mobicents.javax.media.mscontrol.MsControlFactoryImpl
All Implemented Interfaces:
javax.media.mscontrol.MsControlFactory

public class MsControlFactoryImpl
extends Object
implements javax.media.mscontrol.MsControlFactory

Author:
amit bhayani

Field Summary
 
Fields inherited from interface javax.media.mscontrol.MsControlFactory
MEDIA_SERVER_URI
 
Constructor Summary
MsControlFactoryImpl(DriverImpl driver)
           
 
Method Summary
 javax.media.mscontrol.MediaSession createMediaSession()
           
 javax.media.mscontrol.Parameters createParameters()
           
 javax.media.mscontrol.resource.video.VideoLayout createVideoLayout(String mimeType, Reader xmlDef)
           
protected  int getActiveSessions()
           
 DriverImpl getDriver()
           
 javax.media.mscontrol.MediaConfig getMediaConfig(javax.media.mscontrol.Configuration<?> cfg)
           
 javax.media.mscontrol.MediaConfig getMediaConfig(Reader paramReader)
           
 javax.media.mscontrol.MediaObject getMediaObject(URI paramURI)
           
 javax.media.mscontrol.resource.video.VideoLayout getPresetLayout(String type)
           
 javax.media.mscontrol.resource.video.VideoLayout[] getPresetLayouts(int numberOfLiveRegions)
           
 Properties getProperties()
           
 int getUniqueHandler()
           
protected  void removeSession(MediaSessionImpl session)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MsControlFactoryImpl

public MsControlFactoryImpl(DriverImpl driver)
Method Detail

getDriver

public DriverImpl getDriver()

getUniqueHandler

public int getUniqueHandler()

createMediaSession

public javax.media.mscontrol.MediaSession createMediaSession()
Specified by:
createMediaSession in interface javax.media.mscontrol.MsControlFactory

removeSession

protected void removeSession(MediaSessionImpl session)

createParameters

public javax.media.mscontrol.Parameters createParameters()
Specified by:
createParameters in interface javax.media.mscontrol.MsControlFactory

createVideoLayout

public javax.media.mscontrol.resource.video.VideoLayout createVideoLayout(String mimeType,
                                                                          Reader xmlDef)
                                                                   throws javax.media.mscontrol.MediaConfigException
Specified by:
createVideoLayout in interface javax.media.mscontrol.MsControlFactory
Throws:
javax.media.mscontrol.MediaConfigException

getPresetLayout

public javax.media.mscontrol.resource.video.VideoLayout getPresetLayout(String type)
                                                                 throws javax.media.mscontrol.MediaConfigException
Specified by:
getPresetLayout in interface javax.media.mscontrol.MsControlFactory
Throws:
javax.media.mscontrol.MediaConfigException

getPresetLayouts

public javax.media.mscontrol.resource.video.VideoLayout[] getPresetLayouts(int numberOfLiveRegions)
                                                                    throws javax.media.mscontrol.MediaConfigException
Specified by:
getPresetLayouts in interface javax.media.mscontrol.MsControlFactory
Throws:
javax.media.mscontrol.MediaConfigException

getMediaConfig

public javax.media.mscontrol.MediaConfig getMediaConfig(javax.media.mscontrol.Configuration<?> cfg)
                                                 throws javax.media.mscontrol.MediaConfigException
Specified by:
getMediaConfig in interface javax.media.mscontrol.MsControlFactory
Throws:
javax.media.mscontrol.MediaConfigException

getMediaConfig

public javax.media.mscontrol.MediaConfig getMediaConfig(Reader paramReader)
                                                 throws javax.media.mscontrol.MediaConfigException
Specified by:
getMediaConfig in interface javax.media.mscontrol.MsControlFactory
Throws:
javax.media.mscontrol.MediaConfigException

getMediaObject

public javax.media.mscontrol.MediaObject getMediaObject(URI paramURI)
Specified by:
getMediaObject in interface javax.media.mscontrol.MsControlFactory

getActiveSessions

protected int getActiveSessions()

getProperties

public Properties getProperties()
Specified by:
getProperties in interface javax.media.mscontrol.MsControlFactory


Copyright © 2013 TeleStax, Inc.. All Rights Reserved.