@elasticlive/sdk
v3.5.3
Published
elasticlive
Downloads
50
Readme
elasticlive web SDK
elasticlive - WebRTC Live Streming Cloud platform
Get SDK
Package Manager
npm i @elasticlive/sdk
npm i webrtc-adapter #Optional lib for legacy WebRTC API support
<!-- Optional lib for legacy WebRTC API support -->
<script src="node_modules/webrtc-adapter/out/adapter.js"></script>
<script src="node_modules/@elasticlive/sdk/dist/ELive.min.js"></script>
Static import
From jsDelivr
<!-- Optional lib for legacy WebRTC API support -->
<script src="https://cdn.jsdelivr.net/npm/webrtc-adapter/out/adapter.js"></script>
<!-- Latest -->
<script src="https://cdn.jsdelivr.net/npm/@elasticlive/sdk"></script>
<!-- Specific version -->
<script src="https://cdn.jsdelivr.net/npm/@elasticlive/[email protected]/dist/ELive.min.js"></script>
Examples
Documents
Changelog
Developement
npm start
# open localhost:9099
# open localhost:9099/mock_server.html for mock broadcast server (optional)
If you develop with mock server, you have to set config to config.sdk.mode="dev"
Production Build
npm run build
Stable version tagging for production
Default npm tag is next for beta deploy. After npm deployed, you should set dist-tag to latest.
npm dist-tag add @elasticlive/[email protected] latest
Conturibute
Bug fixes welcome!