发送语音消息PC端没声音。
-
这个是PC端接到的信息:
这个是手机端接收到的消息:
手机端可以收到消息并且播放但是不能转文字。
我的语音发送方式:
-
baidu_s_tts返回的是一个mp3的url
-
qq原生发送的格式并不是 mp3
要想让全平台都能听到
你得安装转码插件 -
注意先安装 ffmpeg
-
@cssxsh 好的,谢谢
-
@cssxsh 你好,mirai-native需要32位jre,但注意到mirai-silk-converter的issue都反馈32位jre用这个转码插件报错,我也能复现,请问还有其他办法可以解决pc端听不到语音的情况吗?
2023-04-17 09:56:07 E/Silk Converter: java.lang.UnsatisfiedLinkError: 'void io.github.kasukusakura.silkcodec.NativeBridge.initialize()' java.lang.UnsatisfiedLinkError: 'void io.github.kasukusakura.silkcodec.NativeBridge.initialize()' at mirai-silk-converter-0.0.5-all.jar//io.github.kasukusakura.silkcodec.NativeBridge.initialize(Native Method) at mirai-silk-converter-0.0.5-all.jar//io.github.kasukusakura.silkcodec.NativeLoader.initialize(NativeLoader.java:26) at mirai-silk-converter-0.0.5-all.jar//net.mamoe.mirai.silkconverter.MiraiSilkConverterConsolePlugin.onLoad(ConsolePluginMode.kt:41) at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.internalOnLoad$mirai_console(JvmPluginInternal.kt:368) at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.load(BuiltInJvmPluginLoaderImpl.kt:283) at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.load(BuiltInJvmPluginLoaderImpl.kt:35) at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.load(JvmPluginLoader.kt) at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.load(JvmPluginLoader.kt:50) at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.loadPluginNoEnable(PluginManagerImpl.kt:96) at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.loadAllPluginsUsingBuiltInLoaders$mirai_console(PluginManagerImpl.kt:152) at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:290) at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:496) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:177) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:176) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:54) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.itxtech.mcl.Utility.bootJars(Utility.java:86) at org.itxtech.mcl.Utility.bootJars(Utility.java:76) at org.itxtech.mcl.Utility.bootMirai(Utility.java:98) at org.itxtech.mcl.module.builtin.Boot.boot(Boot.java:113) at org.itxtech.mcl.module.ModuleManager.phaseBoot(ModuleManager.java:123) at org.itxtech.mcl.Loader.lambda$start$4(Loader.java:196) at org.itxtech.mcl.Loader.tryCatching(Loader.java:151) at org.itxtech.mcl.Loader.start(Loader.java:196) at org.itxtech.mcl.Loader.main(Loader.java:84) 2023-04-17 09:56:07 E/Silk Converter: Configuration location: C:\Users\Cyber\Desktop\Mirai\data\net.mamoe.mirai-silk-converter
-
没有