# Dual Audio-Video Dialogue
With 1v1VoIP, customers can make one-to-one video or audio calls directly from Weixin Mini Program, improving the quality of service of the Mini Program with minimal development costs.
Start support from the base library 2.20.1
# Request to open
For the time being, it is only open for domestic entities in the following category Weixin Mini Program. It needs to pass category audit before self-opening the interface rights in the Mini Program management back office, in Development - Development Management - Interface Settings.
| Level 1 category / subject type | Category II | Application scenario |
|---|---|---|
| education | Online Video Course | One-to-one tutoring, answering questions |
| Medical care | Internet hospitals, public medical institutions, private medical institutions | Online consultations |
| Finance | Banking, trusts, public funds, private funds, securities / futures, securities and futures investment advisory, insurance, credit reporting, new third-quarter information services market, equity information services market (Hong Kong / U.S.), consumer finance | Financial Products Video Customer Service Claims, etc. |
| automobile | Car Pre-sale Service | Car pre-sale, etc. |
| Government principal account | / | Online consultation on government-related jobs, etc. |
| IT Technology | Multi-party communications, audio and video equipment, basic telecommunications operators | Provides services such as voice / video conferencing; Hardware online sales and services, etc.; Provide services such as online customer service |
| tool | Video Support | One-to-one customer service services that do not involve the above types of content, such as enterprise after-sales one-to-on-one video / audio calls |
# Front-end Interface
- Open two-person call: wx.setEnable1v1Chat
- Join (create) a two-person call: wx.join1v1Chat
- Exit (destroy) two-person calls: wx.exitVoIPChat
- Update room microphone / headset mute settings: wx.updateVoIPChatMuteConfig
- Listening room member change: wx.onVoIPChatMembersChanged
- wx.on VoIP Chat Speakers Changed Change of state of listening room members
- Intercepted call interruption: wx.onVoIPChatInterrupted
- Listen to the video status change of the member in the live voice call: wx.onVoIPVideoMembersChanged
# Calling Process
- wx.setEnable1v1Chat interface
enableto [[ TAG-2-START]] true`, this setting is only valid for the current Weixin Mini Program life cycle, the Mini Program needs to be reset after each cold start. - Via wx.join1v1Chat Interfaces feed caller information``and listener information`[[tag-2-END]] to initiate a call. Both the receiver and the caller need to be in Weixin Mini Program.
# Billing
WeChat provides 1,000 minutes of free call time per natural month for a single Weixin Mini Program, 1 minute voice call time less 1 minute free call time, and 1 minute video call time less 15 minutes free call time.Exceeds are subject to separate charges. Free time collection and package purchase need to go to WeChat service market to operate.