/*
 * Kurento Commons MSControl: Simplified Media Control API for the Java Platform based on jsr309
 * Copyright (C) 2012  Tikal Technologies
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 3
 * as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

package com.kurento.mscontrol.commons;

/**
 * This class is the entry point where a MediaSession can be obtained
 * 
 */
public interface MediaSessionFactory {

	/**
	 * Creates a new mediaSession object
	 * 
	 * @return New media session for a platform
	 * @throws MediaSessionException
	 */
	public MediaSession createMediaSession()
			throws MediaSessionException;

}

@@ -764,16 +764,63 @@
 mmons;%0A%0A
+import com.kurento.commons.config.Parameters;%0A%0A
 /**%0A * T
@@ -975,21 +975,215 @@
 n object
-%0A%09 * 
+ using the given configuration%0A%09 * parameters. See platform documentation for further details about the%0A%09 * parameters.%0A%09 * %0A%09 * @param parameters%0A%09 *            The configuration of the MediaSession
 %0A%09 * @re
@@ -1299,16 +1299,37 @@
 Session(
+Parameters parameters
 )%0A%09%09%09thr

Add paratemers to mediaSession factory method