-
-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
load 及 slientload 方法改造 #55
Labels
Comments
希望增加对kernel-flv增加stashSize字段,用于控制缓存大小 |
toxic-johann
referenced
this issue
in Chimeejs/chimee-kernel
Dec 10, 2017
toxic-johann
referenced
this issue
in Chimeejs/chimee-kernel
Dec 10, 2017
1. add box arrtibute on instance 2. update package related to [https://github.com/Chimeejs/chimee/issues/55](https://github.com/Chimeejs/chimee/issues/55)
toxic-johann
referenced
this issue
Dec 10, 2017
1. if box do not equal to 'native', we switch kernel 2. if box is not the same as the old kernel, we switch kernel 3. if you pass some sepecific option, we switch kernel related to [https://github.com/Chimeejs/chimee/issues/55](https://github.com/Chimeejs/chimee/issues/55)
toxic-johann
referenced
this issue
Dec 10, 2017
add some new load logic related to [https://github.com/Chimeejs/chimee/issues/55](https://github.com/Chimeejs/chimee/issues/55)
chimee 现已支持 presetConfig, 但是观察 chimee-kernel 及 chimee-kernel-flv 还是比较混乱。双方需要结合一起解决。 与 #54 相关。 希望能做一个简单的梳理吧。 |
chimee 层会将相关配置以如下形式传给 kernel 层。 {
preset: {
flv: Function
},
presetConfig: {
flv: Object
},
} 所以在 kernel 中建议根据自己选中的 box ,读取配置,并保存在实例上。 现在假设该配置在运行中不能更改。 |
toxic-johann
referenced
this issue
in Chimeejs/chimee-kernel
Dec 11, 2017
toxic-johann
referenced
this issue
in Chimeejs/chimee-kernel
Dec 11, 2017
inject presetConfig into config related to [https://github.com/Chimeejs/chimee/issues/55](https://github.com/Chimeejs/chimee/issues/55)
toxic-johann
referenced
this issue
Dec 11, 2017
now you can custom preset config related to [https://github.com/Chimeejs/chimee/issues/55](https://github.com/Chimeejs/chimee/issues/55)
toxic-johann
referenced
this issue
Dec 11, 2017
support custom preset config and update load method as in [https://github.com/Chimeejs/chimee/issues/55](https://github.com/Chimeejs/chimee/issues/55)
published in 0.7.1 |
toxic-johann
referenced
this issue
May 31, 2019
…. if box do not equal to 'native', we switch kernel 2. if box is not the same as the old kernel, we switch kernel 3. if you pass some sepecific option, we switch kernel related to [https://github.com/Chimeejs/chimee/issues/55](https://github.com/Chimeejs/chimee/issues/55)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@songguangyu 提供需要重启 kernel 的相关环境。
以及天翔建议的目前config里面其实就有src了,所以是否考虑load的时候不一定有第二个参数,如果是string,就当作src,如果是obj,就当错config解析,路径用config.src
另外 load 的时候需要支持给各个 kernel 做参数的支持。现有额外参数需要提供给 kernel 层。
关联问题#39
相关参数示例
The text was updated successfully, but these errors were encountered: