Skip to content

gokatei/node-streaming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What Is This

nodejs live streaming server

Support format

Check the library used: node-media-server

How To Use

Streaming on OBS

Service: custom
Server: rtmp://[ServerIp]/live
StreamKey: [anykey]

Access from hls

Example to html

<div class="main">
    <h1>倉庫監視カメラ</h1>
    <h2>ノートパソコンカメラ</h2>
    <div class="video">
        <video id="video_smaple" controls ></video>
    </div>
</div>
<script>
    if(Hls.isSupported()) {
    var video = document.getElementById('video_smaple');
    var hls = new Hls();
    hls.loadSource('http://[ServerIp]/live/[anykey]/index.m3u8');
    hls.attachMedia(video);
    }
</script>

About

nodejs live streaming server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published