namespace * com.kurento.kms.api

include "common.thrift"
include "mediaSession.thrift"

struct ServerConfig {
	1: optional i32 mediaSessionServicePort,
	2: optional i32 networkConnectionServicePort,
	3: optional i32 mixerServicePort,
}

service MediaServerService {
	/**
	 * Gets current server configuration that may be usefull for clients
	 */
	ServerConfig getServerconfig(),

	/**
	 * Creates a new mediaSession that allows interaction with media server
	 */
	mediaSession.MediaSession createMediaSession() throws (1: common.MediaServerException mse),

	/**
	 * Deletes a previously created media session.
	 */
	void deleteMediaSession(1: mediaSession.MediaSession session) throws (1: mediaSession.MediaSessionNotFoundException msnfe),
}

namespace * com.kurento.kms.api

include "common.thrift"
include "mediaSession.thrift"

struct ServerConfig {
	1: optional i32 mediaSessionServicePort,
	2: optional i32 networkConnectionServicePort,
	3: optional i32 mixerServicePort,
	4: optional i32 serverServicePort,
}

service MediaServerService {
	/**
	 * Gets current server configuration that may be usefull for clients
	 */
	ServerConfig getServerconfig(),

	/**
	 * Creates a new mediaSession that allows interaction with media server
	 */
	mediaSession.MediaSession createMediaSession() throws (1: common.MediaServerException mse),

	/**
	 * Deletes a previously created media session.
	 */
	void deleteMediaSession(1: mediaSession.MediaSession session) throws (1: mediaSession.MediaSessionNotFoundException msnfe),
}

Add serverService port to ServerConfig

KurentoLegacy/kms-interface