mqtt配置增加

This commit is contained in:
chc
2026-07-06 15:53:40 +08:00
parent 2965800d87
commit e14481ce6b
4 changed files with 388 additions and 1 deletions

View File

@@ -1,7 +1,12 @@
/**
* 直播 MQTT 连接管理(由 saas-uni-v3 useMqtt 迁移)
*/
// #ifndef MP-WEIXIN
import { createMqttClient } from "../mqtt/mqtt.js";
// #endif
// #ifdef MP-WEIXIN
import { createMqttClient } from "../mqtt/mqtt-weixin.js";
// #endif
export class LiveMqttService {
constructor(liveId, userId) {