kyriesent / node-rtsp-stream

Stream any RTSP stream and output to websocket for consumption by jsmpeg (https://github.com/phoboslab/jsmpeg). HTML5 streaming video! Requires ffmpeg.
MIT License
451 stars 166 forks source link

UDP timeout, retrying with TCP #69

Open ShinichiroMike opened 4 years ago

ShinichiroMike commented 4 years ago

Hello. I have ffmpeg working correctly, but within my application I get this error: UDP timeout, retrying with TCP and I don't get the stream working. Any solution for this?

ali-tafakkori commented 3 years ago

Hi, Use 0.0.7 version

ali-tafakkori commented 3 years ago

But I suggest using version 0.0.3.

Hi, Use 0.0.7 version

wizzfizz94 commented 3 years ago

Couldn't get a stream with v0.0.3 or v0.0.7. I think the older versions are not compatible with the latest versions of JSMpeg. Best solution for me was to install directly from the repo (not npm).

npm install --save https://github.com/kyriesent/node-rtsp-stream.git
ali-tafakkori commented 3 years ago

@wizzfizz94 use ffmpeg you can download it from https://ffmpeg.org/

good luck

wizzfizz94 commented 3 years ago

But @ali-tafakkori i like this module :( ffmpeg doesn't create a streaming server unless you use it with ffserver which is a pain to configure and not node based.