“Node RTS Stream” Réponses codées

Node RTS Stream

Stream = require('node-rtsp-stream')
stream = new Stream({
  name: 'name',
  streamUrl: 'rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov',
  wsPort: 9999,
  ffmpegOptions: { // options ffmpeg flags
    '-stats': '', // an option with no neccessary value uses a blank string
    '-r': 30 // options with required values specify the value after the key
  }
})
    
Thankful Tarsier

Node RTS Stream

<html>
<body>
    <canvas id="canvas"></canvas>
</body>

<script type="text/javascript" src="jsmpeg.min.js"></script>
<script type="text/javascript">
    player = new JSMpeg.Player('ws://localhost:9999', {
      canvas: document.getElementById('canvas') // Canvas should be a canvas DOM element
    })	
</script>
</html>
Thankful Tarsier

Node RTS Stream

$ npm install node-rtsp-stream
Thankful Tarsier

Réponses similaires à “Node RTS Stream”

Questions similaires à “Node RTS Stream”

Plus de réponses similaires à “Node RTS Stream” dans TypeScript

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code