abstract new Call() IncomingCall 与 OutgoingCall 的基类 Members readonly state :string 当前通话状态 (calling, connected, closed, refused, canceled) Methods close() → {Promise} 结束通话 Returns: Promise Events close 通话结束,可能是对方挂断或网络中断 connect 通话连接成功 Parameters: Name Type Description stram MediaStream 对方的媒体流