public interface CallParams
Modifier and Type | Method and Description |
---|---|
void |
addCustomHeader(java.lang.String headerName,
java.lang.String headerValue)
Add a custom SIP header in the INVITE for a call.
|
void |
addCustomSdpAttribute(java.lang.String attributeName,
java.lang.String attributeValue)
Add a custom attribute related to all the streams in the SDP exchanged within
SIP messages during a call.
|
void |
addCustomSdpMediaAttribute(StreamType type,
java.lang.String attributeName,
java.lang.String attributeValue)
Add a custom attribute related to a specific stream in the SDP exchanged within
SIP messages during a call.
|
boolean |
audioEnabled()
Tell whether audio is enabled or not.
|
boolean |
audioMulticastEnabled()
Use to get multicast state of audio stream.
|
void |
clearCustomSdpAttributes()
Clear the custom SDP attributes related to all the streams in the SDP exchanged
within SIP messages during a call.
|
void |
clearCustomSdpMediaAttributes(StreamType type)
Clear the custom SDP attributes related to a specific stream in the SDP
exchanged within SIP messages during a call.
|
CallParams |
copy()
Copy an existing #LinphoneCallParams object to a new #LinphoneCallParams
object.
|
boolean |
earlyMediaSendingEnabled()
Indicate whether sending of early media was enabled.
|
void |
enableAudio(boolean enabled)
Enable audio stream.
|
void |
enableAudioMulticast(boolean yesno)
Use to enable multicast rtp for audio stream.
|
void |
enableEarlyMediaSending(boolean enabled)
Enable sending of real early media (during outgoing calls).
|
void |
enableLowBandwidth(boolean enabled)
Indicate low bandwith mode.
|
void |
enableRealtimeText(boolean yesno)
Use to enable real time text following rfc4103.
|
void |
enableVideo(boolean enabled)
Enable video stream.
|
void |
enableVideoMulticast(boolean yesno)
Use to enable multicast rtp for video stream.
|
MediaDirection |
getAudioDirection()
Get the audio stream direction.
|
java.lang.String |
getCustomHeader(java.lang.String headerName)
Get a custom SIP header.
|
java.lang.String |
getCustomSdpAttribute(java.lang.String attributeName)
Get a custom SDP attribute that is related to all the streams.
|
java.lang.String |
getCustomSdpMediaAttribute(StreamType type,
java.lang.String attributeName)
Get a custom SDP attribute that is related to a specific stream.
|
boolean |
getLocalConferenceMode()
Tell whether the call is part of the locally managed conference.
|
MediaEncryption |
getMediaEncryption()
Get the kind of media encryption selected for the call.
|
int |
getPrivacy()
Get requested level of privacy for the call.
|
float |
getReceivedFramerate()
Get the framerate of the video that is received.
|
VideoDefinition |
getReceivedVideoDefinition()
Get the definition of the received video.
|
java.lang.String |
getRecordFile()
Get the path for the audio recording of the call.
|
java.lang.String |
getRtpProfile()
Get the RTP profile being used.
|
float |
getSentFramerate()
Get the framerate of the video that is sent.
|
VideoDefinition |
getSentVideoDefinition()
Get the definition of the sent video.
|
java.lang.String |
getSessionName()
Get the session name of the media session (ie in SDP).
|
PayloadType |
getUsedAudioPayloadType()
Get the audio payload type that has been selected by a call.
|
PayloadType |
getUsedTextPayloadType()
Get the text payload type that has been selected by a call.
|
PayloadType |
getUsedVideoPayloadType()
Get the video payload type that has been selected by a call.
|
java.lang.Object |
getUserData()
Gets the object stored in this object user's data
|
MediaDirection |
getVideoDirection()
Get the video stream direction.
|
boolean |
lowBandwidthEnabled()
Tell whether the call has been configured in low bandwidth mode or not.
|
boolean |
realtimeTextEnabled()
Use to get real time text following rfc4103.
|
void |
setAudioBandwidthLimit(int bw)
Refine bandwidth settings for this call by setting a bandwidth limit for audio
streams.
|
void |
setAudioDirection(MediaDirection dir)
Set the audio stream direction.
|
void |
setMediaEncryption(MediaEncryption enc)
Set requested media encryption for a call.
|
void |
setPrivacy(int privacy)
Set requested level of privacy for the call.
|
void |
setRecordFile(java.lang.String path)
Enable recording of the call.
|
void |
setSessionName(java.lang.String name)
Set the session name of the media session (ie in SDP).
|
void |
setUserData(java.lang.Object data)
Sets the object to store in this object user's data
|
void |
setVideoDirection(MediaDirection dir)
Set the video stream direction.
|
boolean |
videoEnabled()
Tell whether video is enabled or not.
|
boolean |
videoMulticastEnabled()
Use to get multicast state of video stream.
|
void setAudioBandwidthLimit(int bw)
MediaDirection getAudioDirection()
void setAudioDirection(MediaDirection dir)
boolean audioEnabled()
void enableAudio(boolean enabled)
boolean audioMulticastEnabled()
void enableAudioMulticast(boolean yesno)
boolean earlyMediaSendingEnabled()
void enableEarlyMediaSending(boolean enabled)
boolean getLocalConferenceMode()
boolean lowBandwidthEnabled()
void enableLowBandwidth(boolean enabled)
MediaEncryption getMediaEncryption()
void setMediaEncryption(MediaEncryption enc)
int getPrivacy()
void setPrivacy(int privacy)
boolean realtimeTextEnabled()
void enableRealtimeText(boolean yesno)
float getReceivedFramerate()
VideoDefinition getReceivedVideoDefinition()
java.lang.String getRecordFile()
void setRecordFile(java.lang.String path)
java.lang.String getRtpProfile()
float getSentFramerate()
VideoDefinition getSentVideoDefinition()
java.lang.String getSessionName()
void setSessionName(java.lang.String name)
PayloadType getUsedAudioPayloadType()
PayloadType getUsedTextPayloadType()
PayloadType getUsedVideoPayloadType()
MediaDirection getVideoDirection()
void setVideoDirection(MediaDirection dir)
boolean videoEnabled()
void enableVideo(boolean enabled)
boolean videoMulticastEnabled()
void enableVideoMulticast(boolean yesno)
void addCustomHeader(java.lang.String headerName, java.lang.String headerValue)
void addCustomSdpAttribute(java.lang.String attributeName, java.lang.String attributeValue)
void addCustomSdpMediaAttribute(StreamType type, java.lang.String attributeName, java.lang.String attributeValue)
void clearCustomSdpAttributes()
void clearCustomSdpMediaAttributes(StreamType type)
CallParams copy()
java.lang.String getCustomHeader(java.lang.String headerName)
java.lang.String getCustomSdpAttribute(java.lang.String attributeName)
java.lang.String getCustomSdpMediaAttribute(StreamType type, java.lang.String attributeName)
void setUserData(java.lang.Object data)
java.lang.Object getUserData()