Wondering what’s next for npm?Check out our public roadmap! »

    @elasticlive/sdk

    3.5.3 • Public • Published

    npm (latest) npm (next) CircleCI

    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/sdk@3.0.0/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/sdk@xx.xx.xx latest

    Conturibute

    Bug fixes welcome!

    Install

    npm i @elasticlive/sdk

    DownloadsWeekly Downloads

    23

    Version

    3.5.3

    License

    BSD-3-Clause

    Unpacked Size

    1.49 MB

    Total Files

    83

    Last publish

    Collaborators

    • avatar
    • avatar