Video Call Screen
The MFUICallScreenViewController
is a class that is used to build a one to one Video Call for incoming and outgoing calls
#
Module ComponentsIn the MFUICallScreenViewController
class, MFUICallScreenModule
and its components are used to create and display call screen view. same controller used for both audio & video call. RemoteVideoView and LocalVideoView are the two additional component added for Video Call.
Property name | Type |
---|---|
RemoteVideoView | MFUICallScreenModule.RemoteVideoView |
LocalVideoView | MFUICallScreenModule.LocalVideoView |
headerComponent | MFUICallScreenModule.Header |
hangupFooterComponent | MFUICallScreenModule.HangupFooter |
When the loadView()
method of the view controller is called, the module components get added to the view in the setupView()
method of the MirrorFly UIKit's view life cycle.
Then, the configure()
method of each module component is called to set the property values and display the view.
#
RemoteVideoView ComponentRemoteVideoView Component includes RTCMTLVideoView to show remote video. It handles and monitors all remote video related stuff. It include video mute imageview, video mute describtion label.
The following table shows the parameters of the configure()
method of the RemoteVideoView Component.
Parameter name | Type |
---|---|
theme | MFCallScreenTheme |
#
LocalVideoView ComponentLocalVideoView Component includes RTCMTLVideoView to show Local video. It automatically resize to small rectangle when video call connected. once connected the view can be draggable.
#
Header ComponentThe headerComponent includes a back Button, Call status Label, caller/Receiver Name Label, and Connected call Time Label . Each property corresponds to the module elements of MFUICallScreenViewController
.
The following table shows the parameters of the configure()
method of
the headerComponent.
Parameter name | Type |
---|---|
delegate | MFUICallScreenModuleHeaderDelegate |
theme | MFCallScreenTheme |
#
hangupFooter ComponentThe hangupFooter Component shows Mute button, speaker button and hangup button. Camera switch button and camera disable button are the two addition component added for Video Call.
The following table shows the parameters of the configure()
method of the hangupFooter Component.
Parameter name | Type |
---|---|
delegate | MFUICallScreenModuleHangupFooterDelegate |
theme | MFCallScreenTheme |