Class MediaSessionStartedEvent
- All Implemented Interfaces:
Event
This event is a simplified version of the WebRTC's RTCPeerConnection.signalingstatechange event, and can be used to verify that the endpoint has been able to finish negotiations at the signaling plane.
It contains no data, and will be raised in these scenarios:
-
A call to
SdpEndpoint.processOffer()
has processed a remote SDP Offer and has generated a local SDP Answer. Equivalent to WebRTC's have-local-pranswer. -
A call to
SdpEndpoint.processAnswer()
has processed a remote SDP Answer. Equivalent to WebRTC's have-remote-pranswer. - An HttpEndpoint has received a GET or POST request.
Note that SdpEndpoint is the base class of the RTP classes, so this description applies to both RtpEndpoint and WebRtcEndpoint.
-
Constructor Summary
ConstructorDescriptionMediaSessionStartedEvent
(MediaObject source, String timestampMillis, List<Tag> tags, String type) Event raised when the endpoint has successfully finished the signaling stage, and is ready for establishing a connection. -
Method Summary
Methods inherited from class org.kurento.client.MediaEvent
getType, setType
Methods inherited from class org.kurento.client.RaiseBaseEvent
getSource, getTags, getTimestampMillis, setSource, setTags, setTimestampMillis
-
Constructor Details
-
MediaSessionStartedEvent
public MediaSessionStartedEvent(MediaObject source, String timestampMillis, List<Tag> tags, String type) Event raised when the endpoint has successfully finished the signaling stage, and is ready for establishing a connection.This event is a simplified version of the WebRTC's RTCPeerConnection.signalingstatechange event, and can be used to verify that the endpoint has been able to finish negotiations at the signaling plane.
It contains no data, and will be raised in these scenarios:
-
A call to
SdpEndpoint.processOffer()
has processed a remote SDP Offer and has generated a local SDP Answer. Equivalent to WebRTC's have-local-pranswer. -
A call to
SdpEndpoint.processAnswer()
has processed a remote SDP Answer. Equivalent to WebRTC's have-remote-pranswer. - An HttpEndpoint has received a GET or POST request.
Note that SdpEndpoint is the base class of the RTP classes, so this description applies to both RtpEndpoint and WebRtcEndpoint.
- Parameters:
source
- Object that raised the eventtimestampMillis
- The timestamp associated with this event: Milliseconds elapsed since the UNIX Epoch (Jan 1, 1970, UTC).tags
-type
- Type of event that was raised
-
A call to
-