Open Stillness-2 opened 3 months ago
looks good so far
@koush, added tamper alert support. Now you can merge, if everything is fine. :)
thanks will take a look soon
I see it is published on NPM and I have tried and it basic functionality works, but 2-way audio does not.
I have DS-KV8113 with newest firmware 2.2.53 and I am getting:
a/v undefined pcm_mulaw found undefined undefined
rtsp/tcp opus
-hide_banner -analyzeduration 0 -probesize 512 -i rtsp:[REDACTED] -ar 8000 -ac 1 -acodec pcm_mulaw -dn -sn -vn -f rtp rtp://127.0.0.1:42583? -sdp_file pipe:4
[rtsp @ 0x558d37d0f800] method SETUP failed: 461 Unsupported Transport
two way audio opened <?xml version="1.0" encoding="UTF-8"?>
<TwoWayAudioSession version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<sessionId>2ozk849ahx0xzbmvnj1ncnp3n53nn495</sessionId>
</TwoWayAudioSession>
posting audio data to http://192.168.0.123:80/ISAPI/System/TwoWayAudio/channels/1/audioData
audio finished
Input #0, rtsp, from 'rtsp://127.0.0.1:44893':
Duration: N/A, bitrate: N/A
Stream #0:0: Audio: opus, 48000 Hz, stereo, fltp
Stream mapping:
Stream #0:0 -> #0:0 (opus (native) -> pcm_mulaw (native))
Press [q] to stop, [?] for help
Finishing stream 0:0 without any data written to it.
Output #0, rtp, to 'rtp://127.0.0.1:42583?':
Metadata:
encoder : Lavf58.76.100
Stream #0:0: Audio: pcm_mulaw, 8000 Hz, mono, s16, 64 kb/s
Metadata:
encoder : Lavc58.134.100 pcm_mulaw
size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x
video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)
video/audio detected, discarding further input
ffmpeg exited
The main error is:
method SETUP failed: 461 Unsupported Transport
I wonder if I can change rtsp transport somehow from the plugin configuration?
I tried to add some dependency on the Hikvision plugin. @koush You can already take a look, but you shouldn't merge it yet, since I’m still testing...