zc16607
zc16607
> > > > 看了下,貌似是对I帧进行了加密,加密的操作在[liveplayer_controls.js](https://js.player.cntv.cn/creator/liveplayer_controls.js)下面的一坨(应该是魔改版本的hls.js),[原本的逻辑](https://github.com/video-dev/hls.js/blob/v0.12.4/src/demux/tsdemuxer.js#L581) > > > >  > > > > Module里的函数是[h5.worker](https://js.player.cntv.cn/creator/h5.worker?v=200113)提供的,貌似用了wasm,暂时没啥好办法 > > > > > > > > > 应该是用JS解密吧…… > > > > >...
我解决了,可以实现主应用增加前缀。 **代码修改关键点:** 1. 主应用代码的子应用entry、activeRule需要同时增加路径 2. 主应用的vue.config.js中的publicPath需要增加路径 3. 子应用的vue.config.js中的publicPath需要增加路径 4. 子应用的路由文件中,在new Router的base属性需要增加路径 **nginx配置示例:** ``` # 主应用 location ^~ /microapp { alias /home/user/www/app_main/dist/; index index.html index.htm; } # 子应用 location ^~ /microapp/subapp...