C# Class BogheCore.Sip.MyAVSession

Inheritance: BogheCore.Sip.MyInviteSession
Show file Open project: DoubangoTelecom/boghe Class Usage Examples

Protected Properties

Property Type Description
mSessionTransferId long

Public Methods

Method Description
AcceptCall ( ) : bool
AcceptCallTransfer ( ) : bool
CreateOutgoingSession ( BogheCore.Sip.MySipStack sipStack, MediaType mediaType ) : MyAVSession
GetSession ( long id ) : MyAVSession
GetVideoQualityInfo ( ) : org.doubango.tinyWRAP.QoS
HandleMediaUpdate ( long id, doubango_rt.BackEnd.rt_twrap_media_type_t newMediaType ) : bool
HangUpCall ( ) : bool
HasSession ( long id ) : bool
HoldCall ( ) : bool
IsSecure ( ) : bool

Check if SRTP is enabled for this session Should be called after the session is connected

MakeCall ( String remoteUri ) : bool
MakeVideoSharingCall ( String remoteUri ) : bool
Mute ( bool mute, doubango_rt.BackEnd.rt_twrap_media_type_t media ) : bool
RejectCallTransfer ( ) : bool
ReleaseSession ( MyAVSession session ) : void
ResumeCall ( ) : bool
SendDTMF ( int digit ) : bool
SendInfo ( byte payload, String contentType ) : bool
SendT140Data ( byte bufferBytes ) : bool
SendT140Data ( doubango_rt.BackEnd.rt_tmedia_t140_data_type_t dataType ) : bool
SetEchoSupp ( bool enabled ) : bool
SetFullscreen ( bool fullscreen ) : bool
SetProducerFlipped ( System.Boolean flipped ) : bool
SetVolume ( int volume ) : bool
TakeIncomingSession ( BogheCore.Sip.MySipStack sipStack, doubango_rt.BackEnd.rtCallSession session, doubango_rt.BackEnd.rt_twrap_media_type_t mediaType, doubango_rt.BackEnd.rtSipMessage sipMessage ) : MyAVSession
TakeOutgoingTranferSession ( BogheCore.Sip.MySipStack sipStack, doubango_rt.BackEnd.rtCallSession session, doubango_rt.BackEnd.rt_twrap_media_type_t mediaType, doubango_rt.BackEnd.rtSipMessage sipMessage ) : MyAVSession
TransferCall ( String transferUri ) : bool
Update ( MediaType newMediaType ) : bool
setVideoBandwidthDownloadMax ( int max ) : bool
setVideoBandwidthUploadMax ( int max ) : bool
setVideoFps ( int fps ) : bool
setVideoPrefSize ( doubango_rt.BackEnd.rt_tmedia_pref_video_size_t pref_video_size ) : bool

Protected Methods

Method Description
MyAVSession ( BogheCore.Sip.MySipStack sipStack, doubango_rt.BackEnd.rtCallSession session, MediaType mediaType, InviteState callState )
SendT140Buffer ( doubango_rt.BackEnd.rt_tmedia_t140_data_type_t dataType, byte bufferBytes ) : bool

Private Methods

Method Description
CreateOutgoingSession ( BogheCore.Sip.MySipStack sipStack, doubango_rt.BackEnd.rtCallSession session, MediaType mediaType ) : MyAVSession

Method Details

AcceptCall() public method

public AcceptCall ( ) : bool
return bool

AcceptCallTransfer() public method

public AcceptCallTransfer ( ) : bool
return bool

CreateOutgoingSession() public static method

public static CreateOutgoingSession ( BogheCore.Sip.MySipStack sipStack, MediaType mediaType ) : MyAVSession
sipStack BogheCore.Sip.MySipStack
mediaType MediaType
return MyAVSession

GetSession() public static method

public static GetSession ( long id ) : MyAVSession
id long
return MyAVSession

GetVideoQualityInfo() public method

public GetVideoQualityInfo ( ) : org.doubango.tinyWRAP.QoS
return org.doubango.tinyWRAP.QoS

HandleMediaUpdate() public static method

public static HandleMediaUpdate ( long id, doubango_rt.BackEnd.rt_twrap_media_type_t newMediaType ) : bool
id long
newMediaType doubango_rt.BackEnd.rt_twrap_media_type_t
return bool

HangUpCall() public method

public HangUpCall ( ) : bool
return bool

HasSession() public static method

public static HasSession ( long id ) : bool
id long
return bool

HoldCall() public method

public HoldCall ( ) : bool
return bool

IsSecure() public method

Check if SRTP is enabled for this session Should be called after the session is connected
public IsSecure ( ) : bool
return bool

MakeCall() public method

public MakeCall ( String remoteUri ) : bool
remoteUri String
return bool

MakeVideoSharingCall() public method

public MakeVideoSharingCall ( String remoteUri ) : bool
remoteUri String
return bool

Mute() public method

public Mute ( bool mute, doubango_rt.BackEnd.rt_twrap_media_type_t media ) : bool
mute bool
media doubango_rt.BackEnd.rt_twrap_media_type_t
return bool

MyAVSession() protected method

protected MyAVSession ( BogheCore.Sip.MySipStack sipStack, doubango_rt.BackEnd.rtCallSession session, MediaType mediaType, InviteState callState )
sipStack BogheCore.Sip.MySipStack
session doubango_rt.BackEnd.rtCallSession
mediaType MediaType
callState InviteState

RejectCallTransfer() public method

public RejectCallTransfer ( ) : bool
return bool

ReleaseSession() public static method

public static ReleaseSession ( MyAVSession session ) : void
session MyAVSession
return void

ResumeCall() public method

public ResumeCall ( ) : bool
return bool

SendDTMF() public method

public SendDTMF ( int digit ) : bool
digit int
return bool

SendInfo() public method

public SendInfo ( byte payload, String contentType ) : bool
payload byte
contentType String
return bool

SendT140Buffer() protected method

protected SendT140Buffer ( doubango_rt.BackEnd.rt_tmedia_t140_data_type_t dataType, byte bufferBytes ) : bool
dataType doubango_rt.BackEnd.rt_tmedia_t140_data_type_t
bufferBytes byte
return bool

SendT140Data() public method

public SendT140Data ( byte bufferBytes ) : bool
bufferBytes byte
return bool

SendT140Data() public method

public SendT140Data ( doubango_rt.BackEnd.rt_tmedia_t140_data_type_t dataType ) : bool
dataType doubango_rt.BackEnd.rt_tmedia_t140_data_type_t
return bool

SetEchoSupp() public method

public SetEchoSupp ( bool enabled ) : bool
enabled bool
return bool

SetFullscreen() public method

public SetFullscreen ( bool fullscreen ) : bool
fullscreen bool
return bool

SetProducerFlipped() public method

public SetProducerFlipped ( System.Boolean flipped ) : bool
flipped System.Boolean
return bool

SetVolume() public method

public SetVolume ( int volume ) : bool
volume int
return bool

TakeIncomingSession() public static method

public static TakeIncomingSession ( BogheCore.Sip.MySipStack sipStack, doubango_rt.BackEnd.rtCallSession session, doubango_rt.BackEnd.rt_twrap_media_type_t mediaType, doubango_rt.BackEnd.rtSipMessage sipMessage ) : MyAVSession
sipStack BogheCore.Sip.MySipStack
session doubango_rt.BackEnd.rtCallSession
mediaType doubango_rt.BackEnd.rt_twrap_media_type_t
sipMessage doubango_rt.BackEnd.rtSipMessage
return MyAVSession

TakeOutgoingTranferSession() public static method

public static TakeOutgoingTranferSession ( BogheCore.Sip.MySipStack sipStack, doubango_rt.BackEnd.rtCallSession session, doubango_rt.BackEnd.rt_twrap_media_type_t mediaType, doubango_rt.BackEnd.rtSipMessage sipMessage ) : MyAVSession
sipStack BogheCore.Sip.MySipStack
session doubango_rt.BackEnd.rtCallSession
mediaType doubango_rt.BackEnd.rt_twrap_media_type_t
sipMessage doubango_rt.BackEnd.rtSipMessage
return MyAVSession

TransferCall() public method

public TransferCall ( String transferUri ) : bool
transferUri String
return bool

Update() public method

public Update ( MediaType newMediaType ) : bool
newMediaType MediaType
return bool

setVideoBandwidthDownloadMax() public method

public setVideoBandwidthDownloadMax ( int max ) : bool
max int
return bool

setVideoBandwidthUploadMax() public method

public setVideoBandwidthUploadMax ( int max ) : bool
max int
return bool

setVideoFps() public method

public setVideoFps ( int fps ) : bool
fps int
return bool

setVideoPrefSize() public method

public setVideoPrefSize ( doubango_rt.BackEnd.rt_tmedia_pref_video_size_t pref_video_size ) : bool
pref_video_size doubango_rt.BackEnd.rt_tmedia_pref_video_size_t
return bool

Property Details

mSessionTransferId protected property

protected long mSessionTransferId
return long