WangZixian fecfac1207 TEXT 10 mesiacov pred
..
dist fecfac1207 TEXT 10 mesiacov pred
examples fecfac1207 TEXT 10 mesiacov pred
src fecfac1207 TEXT 10 mesiacov pred
CHANGELOG.MD fecfac1207 TEXT 10 mesiacov pred
CHANGELOG_CN.MD fecfac1207 TEXT 10 mesiacov pred
Help on License fecfac1207 TEXT 10 mesiacov pred
LICENSE fecfac1207 TEXT 10 mesiacov pred
Open Source Software Notice.MD fecfac1207 TEXT 10 mesiacov pred
README.md fecfac1207 TEXT 10 mesiacov pred
babel.config.json fecfac1207 TEXT 10 mesiacov pred
index.js fecfac1207 TEXT 10 mesiacov pred
index.mjs fecfac1207 TEXT 10 mesiacov pred
package.json fecfac1207 TEXT 10 mesiacov pred
webpack.config.js fecfac1207 TEXT 10 mesiacov pred

README.md

使用指南

Nodejs 安装

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 客户端

向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'
});

更多用例参考官网文档