Search
 
SCRIPT & CODE EXAMPLE
 

TYPESCRIPT

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
  }
})
    
Comment

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>
Comment

node rts stream

$ npm install node-rtsp-stream
Comment

PREVIOUS NEXT
Code Example
Typescript :: how many type of mosfet are there 
Typescript :: length functioni in typesrcipt 
Typescript :: current and measurement physics formula 
Typescript :: AFTER RESETTING ANGULAR FORM I AM GETTING RED INVALID FORM 
Typescript :: typescript question mark 
Typescript :: adding html in typescript 
Typescript :: set typescript 
Typescript :: embed python in html 
Typescript :: angular conditional directives 
Typescript :: angular build Failed to load resource 
Typescript :: Give a brief description of the process of synthesis of food in green plants. 
Typescript :: vb net code snippets for storing password 
Typescript :: react with typescript 
Cpp :: cpp starting code 
Cpp :: c++ hide console 
Cpp :: c++ vector print 
Cpp :: c++ directory listing 
Cpp :: sort a vector of strings according to their length c++ 
Cpp :: unordered_map of pair and int 
Cpp :: 2114. Maximum Number of Words Found in Sentences leetcode solution in c++ 
Cpp :: compile multiple files C++ linux 
Cpp :: find all occurrences of a substring in a string c++ 
Cpp :: C++ Area of Scalene Triangle 
Cpp :: cannot open include file unreal 
Cpp :: fast input and output c++ 
Cpp :: how to output to console c++ 
Cpp :: distinct colors cses solution 
Cpp :: note++ 
Cpp :: go through std vector 
Cpp :: comment in c++ 
ADD CONTENT
Topic
Content
Source link
Name
4+6 =