Class RecorderEvent
- java.lang.Object
-
- org.jitsi.service.neomedia.recording.RecorderEvent
-
public class RecorderEvent extends Object
Represents an event related to media recording, such as a new SSRC starting to be recorded.- Author:
- Boris Grozev, Vladimir Marinov
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRecorderEvent.AspectRatioVideo aspect ratio.static classRecorderEvent.TypeRecorderEvent types.
-
Constructor Summary
Constructors Constructor Description RecorderEvent()Constructs a RecorderEvent.RecorderEvent(org.json.simple.JSONObject json)Constructs a RecorderEvent and tries to parse its fields from json.
-
Method Summary
-
-
-
Constructor Detail
-
RecorderEvent
public RecorderEvent()
Constructs a RecorderEvent.
-
RecorderEvent
public RecorderEvent(org.json.simple.JSONObject json)
Constructs a RecorderEvent and tries to parse its fields from json.- Parameters:
json- a JSON object, containing fields with which to initialize the fields of this RecorderEvent.
-
-
Method Detail
-
getType
public RecorderEvent.Type getType()
-
setType
public void setType(RecorderEvent.Type type)
-
getInstant
public long getInstant()
-
setInstant
public void setInstant(long instant)
-
getRtpTimestamp
public long getRtpTimestamp()
-
setRtpTimestamp
public void setRtpTimestamp(long rtpTimestamp)
-
getSsrc
public long getSsrc()
-
setSsrc
public void setSsrc(long ssrc)
-
getAudioSsrc
public long getAudioSsrc()
-
setAudioSsrc
public void setAudioSsrc(long audioSsrc)
-
getAspectRatio
public RecorderEvent.AspectRatio getAspectRatio()
-
setAspectRatio
public void setAspectRatio(RecorderEvent.AspectRatio aspectRatio)
-
getFilename
public String getFilename()
-
setFilename
public void setFilename(String filename)
-
getMediaType
public org.jitsi.utils.MediaType getMediaType()
-
setMediaType
public void setMediaType(org.jitsi.utils.MediaType mediaType)
-
getDuration
public long getDuration()
-
setDuration
public void setDuration(long duration)
-
getParticipantName
public String getParticipantName()
-
setParticipantName
public void setParticipantName(String participantName)
-
getParticipantDescription
public String getParticipantDescription()
-
setParticipantDescription
public void setParticipantDescription(String participantDescription)
-
getDisableOtherVideosOnTop
public boolean getDisableOtherVideosOnTop()
-
setDisableOtherVideosOnTop
public void setDisableOtherVideosOnTop(boolean disableOtherVideosOnTop)
-
getNtpTime
public double getNtpTime()
-
setNtpTime
public void setNtpTime(double ntpTime)
-
setEndpointId
public void setEndpointId(String endpointId)
-
getEndpointId
public String getEndpointId()
-
-