SmartAudio/package/allwinner/speech/service/init/09-music-node.lua

23 lines
703 B
Lua
Raw Normal View History

2018-07-13 01:31:50 +00:00
require('luabin')
aiosResPath = aiosconf and aiosconf.resPath or 'res'
luabin.path = aiosResPath .. '/aios.lub'
if not aiosconf then
aiosconf = {
appKey = "146182097285958e",
secretKey = "42794791306de0ac9fbf1edb90b0febc",
provision = "test/res/aios-1.0.0-146182097285958e.provision",
serial = "test/res/aios-aihome.serial",
userId = "soundbox",
ailog_level = 3,
--cloudServer = "ws://112.80.39.95:8009"
cloudServer = "ws://58.210.96.236:8888"
--cloudServer = "ws://s-test.api.aispeech.com:10000"
--cloudServer = "ws://172.16.10.119:80"
}
end
local musicnode = require 'aios.node.music'
musicnode.run()