public class DefaultConference extends java.lang.Object implements Conference
| Modifier and Type | Field and Description |
|---|---|
protected PeerConnection |
audioPeerConnection |
protected java.lang.String |
callId |
protected RtpTransceiver |
cameraVideoRtpTransceiver |
protected CallDuration |
conferenceDuration |
protected ConferenceEventListener |
conferenceEventListener |
protected EventBus |
eventBus |
protected Gateway |
gateway |
protected AudioTrack |
localAudioTrack |
protected VideoCapturer |
localCameraCapturer |
protected VideoOptions.CameraOrientation |
localCameraOrientation |
protected VideoSource |
localCameraSource |
protected ScreenCapturerAndroid |
localScreenShareCapturer |
protected VideoSource |
localScreenShareSource |
protected PeerConnectionMediaMonitor |
peerConnectionMediaMonitor |
protected java.util.Map<java.lang.String,RemoteStream> |
remoteStreams |
protected java.util.Map<java.lang.String,RemoteVideo> |
remoteVideos |
protected RtpTransceiver |
screenShareRtpTransceiver |
protected PeerConnection |
videoPublisherPeerConnection |
protected PeerConnection |
videoSubscriberPeerConnection |
| Constructor and Description |
|---|
DefaultConference(Gateway gateway,
EventBus eventBus,
ConferenceRequest conferenceRequest,
ConferenceOptions conferenceOptions,
ConferenceUser currentUser) |
DefaultConference(Gateway gateway,
EventBus eventBus,
ConferenceRequest conferenceRequest,
java.lang.String callId,
ConferenceOptions conferenceOptions,
ConferenceUser currentUser) |
protected final EventBus eventBus
protected Gateway gateway
protected PeerConnection audioPeerConnection
protected PeerConnection videoPublisherPeerConnection
protected PeerConnection videoSubscriberPeerConnection
protected PeerConnectionMediaMonitor peerConnectionMediaMonitor
protected ConferenceEventListener conferenceEventListener
protected AudioTrack localAudioTrack
protected VideoSource localCameraSource
protected VideoCapturer localCameraCapturer
protected VideoSource localScreenShareSource
protected ScreenCapturerAndroid localScreenShareCapturer
protected VideoOptions.CameraOrientation localCameraOrientation
protected RtpTransceiver cameraVideoRtpTransceiver
protected RtpTransceiver screenShareRtpTransceiver
protected java.util.Map<java.lang.String,RemoteStream> remoteStreams
protected java.util.Map<java.lang.String,RemoteVideo> remoteVideos
protected java.lang.String callId
protected CallDuration conferenceDuration
public DefaultConference(Gateway gateway, EventBus eventBus, ConferenceRequest conferenceRequest, java.lang.String callId, ConferenceOptions conferenceOptions, ConferenceUser currentUser)
public DefaultConference(Gateway gateway, EventBus eventBus, ConferenceRequest conferenceRequest, ConferenceOptions conferenceOptions, ConferenceUser currentUser)
public java.lang.String id()
id in interface Conferencepublic ConferenceStatus status()
status in interface Conferencepublic ConferenceOptions options()
options in interface Conferencepublic void leave()
leave in interface Conferencepublic void setEventListener(ConferenceEventListener conferenceEventListener)
setEventListener in interface Conferencepublic void mute(boolean shouldMute)
mute in interface Conferencepublic void speakerphone(boolean enabled)
speakerphone in interface Conferencepublic boolean speakerphone()
speakerphone in interface Conferencepublic VideoOptions.CameraOrientation cameraOrientation()
cameraOrientation in interface Conferencepublic void cameraOrientation(VideoOptions.CameraOrientation cameraOrientation)
cameraOrientation in interface Conferencepublic boolean hasCameraVideo()
hasCameraVideo in interface Conferencepublic void cameraVideo(boolean cameraVideo)
cameraVideo in interface Conferencepublic boolean hasScreenShare()
hasScreenShare in interface Conferencepublic void startScreenShare(ScreenCapturer screenCapturer)
startScreenShare in interface Conferencepublic void stopScreenShare()
stopScreenShare in interface Conferencepublic RTCVideoTrack localCameraTrack()
localCameraTrack in interface Conferencepublic RTCVideoTrack localScreenShareTrack()
localScreenShareTrack in interface Conferencepublic java.util.List<ConferenceUser> users()
users in interface Conferencepublic java.util.Map<java.lang.String,RemoteVideo> remoteVideos()
remoteVideos in interface Conferencepublic java.util.Date startTime()
startTime in interface Conferencepublic java.util.Date joinTime()
joinTime in interface Conferencepublic java.util.Date endTime()
endTime in interface Conferencepublic void invite(java.lang.String identity)
invite in interface Conferencepublic boolean muted()
muted in interface Conferencepublic void onLocalDescriptionEvent(RTCLocalDescriptionEvent event)
public void onRTCIceCandidateEvent(RTCIceCandidateEvent event)
public void onRTCJoinConferenceEvent(RTCJoinConferenceEvent event)
public void onRTCJoinedConferenceEvent(RTCJoinedConferenceEvent event)
public void onRTCLeftConferenceEvent(RTCLeftConferenceEvent event)
public void onRTCPublishVideoConferenceErrorEvent(RTCPublishVideoConferenceErrorEvent event)
public void onRTCSubscribeVideoConferenceErrorEvent(RTCSubscribeVideoConferenceErrorEvent event)
public void onRTCDisconnectedEvent(RTCDisconnectedEvent event)
public void onRTCUserJoinedEvent(RTCUserJoinedEvent event)
public void onRTCUserLeftEvent(RTCUserLeftEvent event)
public void onRTCUserMutedEvent(RTCUserMutedEvent event)
public void onRTCUserUnmutedEvent(RTCUserUnmutedEvent event)
public void onRTCIceConnectedEvent(RTCIceConnectedEvent event)
public void onRTCIceFailedEvent(RTCIceFailedEvent event)
public void onRTCPublishedConferenceEvent(RTCPublishedVideoConferenceEvent event)
public void onRTCSubscribedVideoConferenceEvent(RTCSubscribedVideoConferenceEvent event)
public void onRTCUpdatedVideoConferenceEvent(RTCUpdatedVideoConferenceEvent event)
public void onRTCUnpublishedConferenceEvent(RTCUnpublishedVideoConferenceEvent event)
public void onRTCJoinedVideoConferenceEvent(RTCJoinedVideoConferenceEvent event)
protected void createPeerConnectionMonitor()
protected AudioTrack createLocalAudioTrack()
protected void createAudioPeerConnection()
protected void createVideoPublisherPeerConnection()
protected void createVideoSubscriberPeerConnection()