org.glassfish.cafe.api
Interface MSRPRecorder

All Superinterfaces:
MediaParticipant, Participant, Recorder

public interface MSRPRecorder
extends Recorder

A participant that is used to save the large file and/or to record the message history in a MSRP communication.

Refer MSRPConference to check the usage.

Author:
bhavanishankar@dev.java.net

Method Summary
 void record(OutputStream stream)
          Start recording to the specified output stream.
 void record(String stream)
          Start recording to the specified location.
 void record(URI stream)
          Start recording to the specified URI.
 
Methods inherited from interface org.glassfish.cafe.api.Recorder
getStream, start, start, stop
 
Methods inherited from interface org.glassfish.cafe.api.Participant
addAgent, getAgent, getAgents, getJoinable, getName, getNickName, removeAgent, setName, setNickName
 

Method Detail

record

void record(URI stream)
Start recording to the specified URI.

Parameters:
stream - Location where the media has to be recorded.

record

void record(String stream)
Start recording to the specified location. This is equivalent to calling start(URI.create(stream));

Parameters:
stream - Location where the media has to be recorded.

record

void record(OutputStream stream)
Start recording to the specified output stream.

Parameters:
stream - The output stream where the media has to be recorded.


Copyright © 2010. All Rights Reserved.