Posts by samuelf • 74 points
3 posts
-
3
votes1
answer324
viewsA: How to write RTSP stream
You can take a look at this library https://www.npmjs.com/package/node-rtsp-recorder const Recorder = require('node-rtsp-recorder').Recorder var rec = new Recorder({ url:…
-
0
votes2
answers51
viewsA: Detect word within an element that is within a specific class
Probably the following code can solve the problem: var Violet = /Violet/gi; if($("div.active .title").text().match(/Violet/gi)){ alert('teste') } The $("div.active .title") selector searches for the…
-
2
votes1
answer32
viewsA: How to Make a jquery code run only on the desktop version of the site
If the issue is just limiting code execution on desktop, you can use the library (it’s only 4K): <script…