callStart method

Future callStart()

Implementation

Future callStart() async {
  if (type == 1) {
    type = 0;
  }
  await widget.delegate?.onCallStart(type);
  willSendVideo(5,
      newTime: DateTime.now().millisecondsSinceEpoch - userJoinedRate);
  currentRate = 0;
  showTime = true;
  if (!mounted) {
    return;
  }
  setState(() {});
  widget.delegate?.onCalling();
}