Comments (13)
Some clarification:
While Neolink is running (both mainstream and substream), I can view the two lower-quality streams on the Reolink Android App ("Fluent" and "Balanced" in the app). However, the app immediately says "live viewing failed" when I try to view the 4K stream.
Also, before substreaming functionality was added to Neolink, I had no trouble loading the 4K stream on other clients. Maybe this indicates a software block of some kind?
I can do some more testing on this today and will post results.
from neolink.
My theory is that there are two hardware encoder units. When something connects, one of them is used for that stream. When it's out of available encoders, you get errors.
If this is true, it's Reolink's fault that the output of the encoder isn't shared to various clients if possible. If you're only streaming either of mainStream
or subStream
to Neolink, is the official app able to display all possible streams?
from neolink.
So I just tried streaming just one 4k feed from the Reolink client. I then tried to connect Neolink (with both streams running) and I get weird video messages. Could be the camera denying the stream?
from neolink.
Yeah, so you're getting the opposite end of what the client experiences when Neolink is already running. Can you rerun with
set RUST_LOG=neolink=debug
? It will print that "weird video message."
from neolink.
Remember, if you exceed two active streams, the third won't work.
from neolink.
Here's the output:
[2020-07-06T17:11:49Z INFO neolink] southwestcorner: Connecting to camera at 192.168.1.10:9000 [2020-07-06T17:11:49Z DEBUG neolink::bc::xml] Enum: start to parse "body" [2020-07-06T17:11:49Z DEBUG neolink::bc::xml] Struct: start to parse "body" [2020-07-06T17:11:49Z DEBUG neolink::bc::xml] Struct: start to parse "Encryption" [2020-07-06T17:11:49Z DEBUG neolink::bc::xml] Enum: start to parse "body" [2020-07-06T17:11:49Z DEBUG neolink::bc::xml] Struct: start to parse "body" [2020-07-06T17:11:49Z DEBUG neolink::bc::xml] Struct: start to parse "DeviceInfo" [2020-07-06T17:11:49Z DEBUG neolink::bc::xml] Struct: start to parse "resolution" [2020-07-06T17:11:49Z INFO neolink] southwestcorner: Connected to camera, starting video stream mainStream [2020-07-06T17:11:49Z WARN neolink::bc_protocol] Ignoring weird video message [2020-07-06T17:11:49Z DEBUG neolink::bc_protocol] Contents: Bc { meta: BcMeta { msg_id: 3, client_idx: 0, class: 0, encrypted: true }, body: ModernMsg(ModernMsg { xml: None, binary: None }) } [2020-07-06T17:11:50Z DEBUG neolink::bc::xml] Enum: start to parse "body" [2020-07-06T17:11:50Z DEBUG neolink::bc::xml] Struct: start to parse "body" [2020-07-06T17:11:50Z DEBUG neolink::bc::xml] Enum: start to parse "body" [2020-07-06T17:11:50Z DEBUG neolink::bc_protocol::connection] Ignoring uninteresting message ID 33 [2020-07-06T17:11:50Z DEBUG neolink::bc::xml] Struct: start to parse "body" [2020-07-06T17:11:50Z DEBUG neolink::bc_protocol::connection] Ignoring uninteresting message ID 33 [2020-07-06T17:11:50Z DEBUG neolink::bc::xml] Enum: start to parse "body" [2020-07-06T17:11:50Z DEBUG neolink::bc::xml] Struct: start to parse "body" [2020-07-06T17:11:50Z DEBUG neolink::bc_protocol::connection] Ignoring uninteresting message ID 33 [2020-07-06T17:11:50Z DEBUG neolink::bc::xml] Enum: start to parse "body" [2020-07-06T17:11:50Z DEBUG neolink::bc::xml] Struct: start to parse "body" [2020-07-06T17:11:50Z DEBUG neolink::bc_protocol::connection] Ignoring uninteresting message ID 78 [2020-07-06T17:11:50Z DEBUG neolink::bc::xml] Enum: start to parse "body" [2020-07-06T17:11:50Z DEBUG neolink::bc::xml] Struct: start to parse "body" [2020-07-06T17:11:50Z DEBUG neolink::bc_protocol::connection] Ignoring uninteresting message ID 79 [2020-07-06T17:11:50Z DEBUG neolink::bc_protocol::connection] Shutting down BcConnection... [2020-07-06T17:11:50Z DEBUG neolink::bc_protocol::connection] Shutdown finished OK [2020-07-06T17:11:50Z ERROR neolink] Error streaming from camera southwestcorner, will retry in 1s: Timeout
from neolink.
Oooh,
[2020-07-06T17:11:50Z DEBUG neolink::bc_protocol::connection] Ignoring uninteresting message ID 33
that's a new message number.
I'll have to add a line that debug prints any uninteresting messages (or indeed all messages).
from neolink.
Sounds good. I'll run again once you do.
from neolink.
Well, it won't solve the underlying issue. What remains to be seen is if the limit is connections or encoders. I think it's encoders, in which case no amount of changes to Neolink will help - you should just connect your viewers to Neolink, which will correctly share the connection to the camera.
from neolink.
I still can stream the substream in the reolink app though. Even when there are 2 or more connections.
from neolink.
Hm, interesting. I have no immediate idea why that would be the case then.
from neolink.
This is no longer a problem in Neolink v0.3.0.
It must be because Neolink uses one less HD in this update?
from neolink.
Hooray. Yeah, I hosed some things when I merged the substream work (it was requesting a stream named both
which is bogus). I'd say it's likely related. Glad it's working.
from neolink.
Related Issues (20)
- Rtsp streams for Argus 3 Pro HOT 4
- QUESTION - Service addon stop
- question to Reolink cameras
- Neolink without gstreamer for PIR only HOT 15
- Can't see the RTSP stream. (Swann DVR8-5000) HOT 10
- Download HOT 5
- support for long passwords (or special characters)
- g_object_new_is_valid_property: property 'name' for type 'GstRtpL16Pay' cannot be set twice HOT 7
- Deserialization error / Media Deserialization error HOT 1
- Question: How does neolink affect battery consumption? HOT 1
- installing on HAS Yellow? HOT 1
- It runs but throws a panic error... HOT 1
- All set up, but RTSP can't connect HOT 5
- Failed to translate camera address - Reolink ARGUS 3 Pro HOT 4
- Unmaintained HOT 9
- Adding a motion sensor HOT 1
- Can't connect to Reolink Argus Track
- neolink crashes in GStreamer-RTSP-Server
- Unable to auth to Argus Eco Ultra HOT 2
- Can't connect to Argus Pro 3 - HELP! Battery powered camera HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neolink.