|
il y a 1 semaine | |
---|---|---|
.. | ||
dist | il y a 1 semaine | |
examples | il y a 1 semaine | |
src | il y a 1 semaine | |
CHANGELOG.MD | il y a 1 semaine | |
CHANGELOG_CN.MD | il y a 1 semaine | |
Help on License | il y a 1 semaine | |
LICENSE | il y a 1 semaine | |
Open Source Software Notice.MD | il y a 1 semaine | |
README.md | il y a 1 semaine | |
babel.config.json | il y a 1 semaine | |
index.js | il y a 1 semaine | |
index.mjs | il y a 1 semaine | |
package.json | il y a 1 semaine | |
webpack.config.js | il y a 1 semaine |
npm install esdk-obs-browserjs
<script src="@/dist/esdk-obs-browserjs.x.x.x.min.js"></script>
<script src="@/dist/esdk-obs-browserjs-without-polyfill.x.x.x.min.js"></script>
向OBS发送任一HTTP/HTTPS请求之前,必须先创建一个ObsClient实例:
// 创建ObsClient实例
const obsClient = new ObsClient({
access_key_id: '*** Provide your Access Key ***',
secret_access_key: '*** Provide your Secret Key ***',
server : 'https://your-endpoint'
});
更多用例参考官网文档