webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Classes | Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
org.appspot.apprtc.CallActivity Class Reference
Inheritance diagram for org.appspot.apprtc.CallActivity:
org.appspot.apprtc.AppRTCClient.SignalingEvents org.appspot.apprtc.PeerConnectionClient.PeerConnectionEvents org.appspot.apprtc.CallFragment.OnCallEvents

Public Member Functions

void onCreate (Bundle savedInstanceState)
 
void onActivityResult (int requestCode, int resultCode, Intent data)
 
void onStop ()
 
void onStart ()
 
void onCallHangUp ()
 
void onCameraSwitch ()
 
void onVideoScalingSwitch (ScalingType scalingType)
 
void onCaptureFormatChange (int width, int height, int framerate)
 
boolean onToggleMic ()
 
void onConnectedToRoom (final SignalingParameters params)
 
void onRemoteDescription (final SessionDescription sdp)
 
void onRemoteIceCandidate (final IceCandidate candidate)
 
void onRemoteIceCandidatesRemoved (final IceCandidate[] candidates)
 
void onChannelClose ()
 
void onChannelError (final String description)
 
void onLocalDescription (final SessionDescription sdp)
 
void onIceCandidate (final IceCandidate candidate)
 
void onIceCandidatesRemoved (final IceCandidate[] candidates)
 
void onIceConnected ()
 
void onIceDisconnected ()
 
void onPeerConnectionClosed ()
 
void onPeerConnectionStatsReady (final StatsReport[] reports)
 
void onPeerConnectionError (final String description)
 

Static Public Attributes

static final String EXTRA_ROOMID = "org.appspot.apprtc.ROOMID"
 
static final String EXTRA_LOOPBACK = "org.appspot.apprtc.LOOPBACK"
 
static final String EXTRA_VIDEO_CALL = "org.appspot.apprtc.VIDEO_CALL"
 
static final String EXTRA_SCREENCAPTURE = "org.appspot.apprtc.SCREENCAPTURE"
 
static final String EXTRA_CAMERA2 = "org.appspot.apprtc.CAMERA2"
 
static final String EXTRA_VIDEO_WIDTH = "org.appspot.apprtc.VIDEO_WIDTH"
 
static final String EXTRA_VIDEO_HEIGHT = "org.appspot.apprtc.VIDEO_HEIGHT"
 
static final String EXTRA_VIDEO_FPS = "org.appspot.apprtc.VIDEO_FPS"
 
static final String EXTRA_VIDEO_CAPTUREQUALITYSLIDER_ENABLED
 
static final String EXTRA_VIDEO_BITRATE = "org.appspot.apprtc.VIDEO_BITRATE"
 
static final String EXTRA_VIDEOCODEC = "org.appspot.apprtc.VIDEOCODEC"
 
static final String EXTRA_HWCODEC_ENABLED = "org.appspot.apprtc.HWCODEC"
 
static final String EXTRA_CAPTURETOTEXTURE_ENABLED = "org.appspot.apprtc.CAPTURETOTEXTURE"
 
static final String EXTRA_FLEXFEC_ENABLED = "org.appspot.apprtc.FLEXFEC"
 
static final String EXTRA_AUDIO_BITRATE = "org.appspot.apprtc.AUDIO_BITRATE"
 
static final String EXTRA_AUDIOCODEC = "org.appspot.apprtc.AUDIOCODEC"
 
static final String EXTRA_NOAUDIOPROCESSING_ENABLED
 
static final String EXTRA_AECDUMP_ENABLED = "org.appspot.apprtc.AECDUMP"
 
static final String EXTRA_OPENSLES_ENABLED = "org.appspot.apprtc.OPENSLES"
 
static final String EXTRA_DISABLE_BUILT_IN_AEC = "org.appspot.apprtc.DISABLE_BUILT_IN_AEC"
 
static final String EXTRA_DISABLE_BUILT_IN_AGC = "org.appspot.apprtc.DISABLE_BUILT_IN_AGC"
 
static final String EXTRA_DISABLE_BUILT_IN_NS = "org.appspot.apprtc.DISABLE_BUILT_IN_NS"
 
static final String EXTRA_ENABLE_LEVEL_CONTROL = "org.appspot.apprtc.ENABLE_LEVEL_CONTROL"
 
static final String EXTRA_DISPLAY_HUD = "org.appspot.apprtc.DISPLAY_HUD"
 
static final String EXTRA_TRACING = "org.appspot.apprtc.TRACING"
 
static final String EXTRA_CMDLINE = "org.appspot.apprtc.CMDLINE"
 
static final String EXTRA_RUNTIME = "org.appspot.apprtc.RUNTIME"
 
static final String EXTRA_VIDEO_FILE_AS_CAMERA = "org.appspot.apprtc.VIDEO_FILE_AS_CAMERA"
 
static final String EXTRA_SAVE_REMOTE_VIDEO_TO_FILE
 
static final String EXTRA_SAVE_REMOTE_VIDEO_TO_FILE_WIDTH
 
static final String EXTRA_SAVE_REMOTE_VIDEO_TO_FILE_HEIGHT
 
static final String EXTRA_USE_VALUES_FROM_INTENT
 
static final String EXTRA_DATA_CHANNEL_ENABLED = "org.appspot.apprtc.DATA_CHANNEL_ENABLED"
 
static final String EXTRA_ORDERED = "org.appspot.apprtc.ORDERED"
 
static final String EXTRA_MAX_RETRANSMITS_MS = "org.appspot.apprtc.MAX_RETRANSMITS_MS"
 
static final String EXTRA_MAX_RETRANSMITS = "org.appspot.apprtc.MAX_RETRANSMITS"
 
static final String EXTRA_PROTOCOL = "org.appspot.apprtc.PROTOCOL"
 
static final String EXTRA_NEGOTIATED = "org.appspot.apprtc.NEGOTIATED"
 
static final String EXTRA_ID = "org.appspot.apprtc.ID"
 

Protected Member Functions

void onDestroy ()
 

Detailed Description

Activity for peer connection call setup, call waiting and call view.

Member Function Documentation

◆ onActivityResult()

void org.appspot.apprtc.CallActivity.onActivityResult ( int  requestCode,
int  resultCode,
Intent  data 
)
inline

◆ onCallHangUp()

void org.appspot.apprtc.CallActivity.onCallHangUp ( )
inline

◆ onCameraSwitch()

void org.appspot.apprtc.CallActivity.onCameraSwitch ( )
inline

◆ onCaptureFormatChange()

void org.appspot.apprtc.CallActivity.onCaptureFormatChange ( int  width,
int  height,
int  framerate 
)
inline

◆ onChannelClose()

void org.appspot.apprtc.CallActivity.onChannelClose ( )
inline

Callback fired once channel is closed.

Implements org.appspot.apprtc.AppRTCClient.SignalingEvents.

◆ onChannelError()

void org.appspot.apprtc.CallActivity.onChannelError ( final String  description)
inline

Callback fired once channel error happened.

Implements org.appspot.apprtc.AppRTCClient.SignalingEvents.

◆ onConnectedToRoom()

void org.appspot.apprtc.CallActivity.onConnectedToRoom ( final SignalingParameters  params)
inline

Callback fired once the room's signaling parameters SignalingParameters are extracted.

Implements org.appspot.apprtc.AppRTCClient.SignalingEvents.

◆ onCreate()

void org.appspot.apprtc.CallActivity.onCreate ( Bundle  savedInstanceState)
inline

◆ onDestroy()

void org.appspot.apprtc.CallActivity.onDestroy ( )
inlineprotected

◆ onIceCandidate()

void org.appspot.apprtc.CallActivity.onIceCandidate ( final IceCandidate  candidate)
inline

Callback fired once local Ice candidate is generated.

Implements org.appspot.apprtc.PeerConnectionClient.PeerConnectionEvents.

◆ onIceCandidatesRemoved()

void org.appspot.apprtc.CallActivity.onIceCandidatesRemoved ( final IceCandidate []  candidates)
inline

Callback fired once local ICE candidates are removed.

Implements org.appspot.apprtc.PeerConnectionClient.PeerConnectionEvents.

◆ onIceConnected()

void org.appspot.apprtc.CallActivity.onIceConnected ( )
inline

Callback fired once connection is established (IceConnectionState is CONNECTED).

Implements org.appspot.apprtc.PeerConnectionClient.PeerConnectionEvents.

◆ onIceDisconnected()

void org.appspot.apprtc.CallActivity.onIceDisconnected ( )
inline

Callback fired once connection is closed (IceConnectionState is DISCONNECTED).

Implements org.appspot.apprtc.PeerConnectionClient.PeerConnectionEvents.

◆ onLocalDescription()

void org.appspot.apprtc.CallActivity.onLocalDescription ( final SessionDescription  sdp)
inline

Callback fired once local SDP is created and set.

Implements org.appspot.apprtc.PeerConnectionClient.PeerConnectionEvents.

◆ onPeerConnectionClosed()

void org.appspot.apprtc.CallActivity.onPeerConnectionClosed ( )
inline

Callback fired once peer connection is closed.

Implements org.appspot.apprtc.PeerConnectionClient.PeerConnectionEvents.

◆ onPeerConnectionError()

void org.appspot.apprtc.CallActivity.onPeerConnectionError ( final String  description)
inline

Callback fired once peer connection error happened.

Implements org.appspot.apprtc.PeerConnectionClient.PeerConnectionEvents.

◆ onPeerConnectionStatsReady()

void org.appspot.apprtc.CallActivity.onPeerConnectionStatsReady ( final StatsReport []  reports)
inline

Callback fired once peer connection statistics is ready.

Implements org.appspot.apprtc.PeerConnectionClient.PeerConnectionEvents.

◆ onRemoteDescription()

void org.appspot.apprtc.CallActivity.onRemoteDescription ( final SessionDescription  sdp)
inline

Callback fired once remote SDP is received.

Implements org.appspot.apprtc.AppRTCClient.SignalingEvents.

◆ onRemoteIceCandidate()

void org.appspot.apprtc.CallActivity.onRemoteIceCandidate ( final IceCandidate  candidate)
inline

Callback fired once remote Ice candidate is received.

Implements org.appspot.apprtc.AppRTCClient.SignalingEvents.

◆ onRemoteIceCandidatesRemoved()

void org.appspot.apprtc.CallActivity.onRemoteIceCandidatesRemoved ( final IceCandidate []  candidates)
inline

Callback fired once remote Ice candidate removals are received.

Implements org.appspot.apprtc.AppRTCClient.SignalingEvents.

◆ onStart()

void org.appspot.apprtc.CallActivity.onStart ( )
inline

◆ onStop()

void org.appspot.apprtc.CallActivity.onStop ( )
inline

◆ onToggleMic()

boolean org.appspot.apprtc.CallActivity.onToggleMic ( )
inline

◆ onVideoScalingSwitch()

void org.appspot.apprtc.CallActivity.onVideoScalingSwitch ( ScalingType  scalingType)
inline

Member Data Documentation

◆ EXTRA_AECDUMP_ENABLED

final String org.appspot.apprtc.CallActivity.EXTRA_AECDUMP_ENABLED = "org.appspot.apprtc.AECDUMP"
static

◆ EXTRA_AUDIO_BITRATE

final String org.appspot.apprtc.CallActivity.EXTRA_AUDIO_BITRATE = "org.appspot.apprtc.AUDIO_BITRATE"
static

◆ EXTRA_AUDIOCODEC

final String org.appspot.apprtc.CallActivity.EXTRA_AUDIOCODEC = "org.appspot.apprtc.AUDIOCODEC"
static

◆ EXTRA_CAMERA2

final String org.appspot.apprtc.CallActivity.EXTRA_CAMERA2 = "org.appspot.apprtc.CAMERA2"
static

◆ EXTRA_CAPTURETOTEXTURE_ENABLED

final String org.appspot.apprtc.CallActivity.EXTRA_CAPTURETOTEXTURE_ENABLED = "org.appspot.apprtc.CAPTURETOTEXTURE"
static

◆ EXTRA_CMDLINE

final String org.appspot.apprtc.CallActivity.EXTRA_CMDLINE = "org.appspot.apprtc.CMDLINE"
static

◆ EXTRA_DATA_CHANNEL_ENABLED

final String org.appspot.apprtc.CallActivity.EXTRA_DATA_CHANNEL_ENABLED = "org.appspot.apprtc.DATA_CHANNEL_ENABLED"
static

◆ EXTRA_DISABLE_BUILT_IN_AEC

final String org.appspot.apprtc.CallActivity.EXTRA_DISABLE_BUILT_IN_AEC = "org.appspot.apprtc.DISABLE_BUILT_IN_AEC"
static

◆ EXTRA_DISABLE_BUILT_IN_AGC

final String org.appspot.apprtc.CallActivity.EXTRA_DISABLE_BUILT_IN_AGC = "org.appspot.apprtc.DISABLE_BUILT_IN_AGC"
static

◆ EXTRA_DISABLE_BUILT_IN_NS

final String org.appspot.apprtc.CallActivity.EXTRA_DISABLE_BUILT_IN_NS = "org.appspot.apprtc.DISABLE_BUILT_IN_NS"
static

◆ EXTRA_DISPLAY_HUD

final String org.appspot.apprtc.CallActivity.EXTRA_DISPLAY_HUD = "org.appspot.apprtc.DISPLAY_HUD"
static

◆ EXTRA_ENABLE_LEVEL_CONTROL

final String org.appspot.apprtc.CallActivity.EXTRA_ENABLE_LEVEL_CONTROL = "org.appspot.apprtc.ENABLE_LEVEL_CONTROL"
static

◆ EXTRA_FLEXFEC_ENABLED

final String org.appspot.apprtc.CallActivity.EXTRA_FLEXFEC_ENABLED = "org.appspot.apprtc.FLEXFEC"
static

◆ EXTRA_HWCODEC_ENABLED

final String org.appspot.apprtc.CallActivity.EXTRA_HWCODEC_ENABLED = "org.appspot.apprtc.HWCODEC"
static

◆ EXTRA_ID

final String org.appspot.apprtc.CallActivity.EXTRA_ID = "org.appspot.apprtc.ID"
static

◆ EXTRA_LOOPBACK

final String org.appspot.apprtc.CallActivity.EXTRA_LOOPBACK = "org.appspot.apprtc.LOOPBACK"
static

◆ EXTRA_MAX_RETRANSMITS

final String org.appspot.apprtc.CallActivity.EXTRA_MAX_RETRANSMITS = "org.appspot.apprtc.MAX_RETRANSMITS"
static

◆ EXTRA_MAX_RETRANSMITS_MS

final String org.appspot.apprtc.CallActivity.EXTRA_MAX_RETRANSMITS_MS = "org.appspot.apprtc.MAX_RETRANSMITS_MS"
static

◆ EXTRA_NEGOTIATED

final String org.appspot.apprtc.CallActivity.EXTRA_NEGOTIATED = "org.appspot.apprtc.NEGOTIATED"
static

◆ EXTRA_NOAUDIOPROCESSING_ENABLED

final String org.appspot.apprtc.CallActivity.EXTRA_NOAUDIOPROCESSING_ENABLED
static
Initial value:
=
"org.appspot.apprtc.NOAUDIOPROCESSING"

◆ EXTRA_OPENSLES_ENABLED

final String org.appspot.apprtc.CallActivity.EXTRA_OPENSLES_ENABLED = "org.appspot.apprtc.OPENSLES"
static

◆ EXTRA_ORDERED

final String org.appspot.apprtc.CallActivity.EXTRA_ORDERED = "org.appspot.apprtc.ORDERED"
static

◆ EXTRA_PROTOCOL

final String org.appspot.apprtc.CallActivity.EXTRA_PROTOCOL = "org.appspot.apprtc.PROTOCOL"
static

◆ EXTRA_ROOMID

final String org.appspot.apprtc.CallActivity.EXTRA_ROOMID = "org.appspot.apprtc.ROOMID"
static

◆ EXTRA_RUNTIME

final String org.appspot.apprtc.CallActivity.EXTRA_RUNTIME = "org.appspot.apprtc.RUNTIME"
static

◆ EXTRA_SAVE_REMOTE_VIDEO_TO_FILE

final String org.appspot.apprtc.CallActivity.EXTRA_SAVE_REMOTE_VIDEO_TO_FILE
static
Initial value:
=
"org.appspot.apprtc.SAVE_REMOTE_VIDEO_TO_FILE"

◆ EXTRA_SAVE_REMOTE_VIDEO_TO_FILE_HEIGHT

final String org.appspot.apprtc.CallActivity.EXTRA_SAVE_REMOTE_VIDEO_TO_FILE_HEIGHT
static
Initial value:
=
"org.appspot.apprtc.SAVE_REMOTE_VIDEO_TO_FILE_HEIGHT"

◆ EXTRA_SAVE_REMOTE_VIDEO_TO_FILE_WIDTH

final String org.appspot.apprtc.CallActivity.EXTRA_SAVE_REMOTE_VIDEO_TO_FILE_WIDTH
static
Initial value:
=
"org.appspot.apprtc.SAVE_REMOTE_VIDEO_TO_FILE_WIDTH"

◆ EXTRA_SCREENCAPTURE

final String org.appspot.apprtc.CallActivity.EXTRA_SCREENCAPTURE = "org.appspot.apprtc.SCREENCAPTURE"
static

◆ EXTRA_TRACING

final String org.appspot.apprtc.CallActivity.EXTRA_TRACING = "org.appspot.apprtc.TRACING"
static

◆ EXTRA_USE_VALUES_FROM_INTENT

final String org.appspot.apprtc.CallActivity.EXTRA_USE_VALUES_FROM_INTENT
static
Initial value:
=
"org.appspot.apprtc.USE_VALUES_FROM_INTENT"

◆ EXTRA_VIDEO_BITRATE

final String org.appspot.apprtc.CallActivity.EXTRA_VIDEO_BITRATE = "org.appspot.apprtc.VIDEO_BITRATE"
static

◆ EXTRA_VIDEO_CALL

final String org.appspot.apprtc.CallActivity.EXTRA_VIDEO_CALL = "org.appspot.apprtc.VIDEO_CALL"
static

◆ EXTRA_VIDEO_CAPTUREQUALITYSLIDER_ENABLED

final String org.appspot.apprtc.CallActivity.EXTRA_VIDEO_CAPTUREQUALITYSLIDER_ENABLED
static
Initial value:
=
"org.appsopt.apprtc.VIDEO_CAPTUREQUALITYSLIDER"

◆ EXTRA_VIDEO_FILE_AS_CAMERA

final String org.appspot.apprtc.CallActivity.EXTRA_VIDEO_FILE_AS_CAMERA = "org.appspot.apprtc.VIDEO_FILE_AS_CAMERA"
static

◆ EXTRA_VIDEO_FPS

final String org.appspot.apprtc.CallActivity.EXTRA_VIDEO_FPS = "org.appspot.apprtc.VIDEO_FPS"
static

◆ EXTRA_VIDEO_HEIGHT

final String org.appspot.apprtc.CallActivity.EXTRA_VIDEO_HEIGHT = "org.appspot.apprtc.VIDEO_HEIGHT"
static

◆ EXTRA_VIDEO_WIDTH

final String org.appspot.apprtc.CallActivity.EXTRA_VIDEO_WIDTH = "org.appspot.apprtc.VIDEO_WIDTH"
static

◆ EXTRA_VIDEOCODEC

final String org.appspot.apprtc.CallActivity.EXTRA_VIDEOCODEC = "org.appspot.apprtc.VIDEOCODEC"
static

The documentation for this class was generated from the following file: