java.lang.Object
one.jpro.platform.sipjs.api.session.Session
- Direct Known Subclasses:
Invitation,Inviter
Represents a call.
-
Property Summary
Properties -
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidbye()voidendCall()com.jpro.webapi.JSVariablecom.jpro.webapi.JSVariablevoidsetupRemoteMedia(one.jpro.platform.webrtc.VideoFrame frame) javafx.beans.property.StringPropertyvoidswitchToStream(one.jpro.platform.webrtc.MediaStream stream) Switches the stream of the call to the given stream.
-
Property Details
-
state
public javafx.beans.property.StringProperty stateProperty- See Also:
-
-
Method Details
-
stateProperty
public javafx.beans.property.StringProperty stateProperty()- Returns:
- the
stateproperty
-
getLocalStream
public com.jpro.webapi.JSVariable getLocalStream() -
getRemoteStream
public com.jpro.webapi.JSVariable getRemoteStream() -
setupRemoteMedia
public void setupRemoteMedia(one.jpro.platform.webrtc.VideoFrame frame) -
switchToStream
public void switchToStream(one.jpro.platform.webrtc.MediaStream stream) Switches the stream of the call to the given stream.- Parameters:
stream-
-
bye
public void bye() -
endCall
public void endCall()
-