func onAudioDrivertoken string req protocolAudioDriverReq commonInfo = fmtSprintfAudioDriver input = s reqInput body _ = jsonMarshalreq headers = makemapstringstring headersContent-Type = application
这段代码中并没有直接通知前端开启或结束的操作,而是通过向第三方服务器发送请求,在第三方服务器上执行音频转动作的操作,并将转换后的动作通过 UDP 协议发送回本地机器。因此,前端需要通过其他方式获取到本地机器上执行的动作信息。
原文地址: https://www.cveoy.top/t/topic/hrM2 著作权归作者所有。请勿转载和采集!