|
|
vor 6 Monaten | |
|---|---|---|
| .. | ||
| dist | vor 6 Monaten | |
| examples | vor 6 Monaten | |
| src | vor 6 Monaten | |
| CHANGELOG.MD | vor 6 Monaten | |
| CHANGELOG_CN.MD | vor 6 Monaten | |
| Help on License | vor 6 Monaten | |
| LICENSE | vor 6 Monaten | |
| Open Source Software Notice.MD | vor 6 Monaten | |
| README.md | vor 6 Monaten | |
| babel.config.json | vor 6 Monaten | |
| index.js | vor 6 Monaten | |
| index.mjs | vor 6 Monaten | |
| package.json | vor 6 Monaten | |
| webpack.config.js | vor 6 Monaten | |
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'
});
更多用例参考官网文档