Camera IP
This function block is tailored for connecting to IP cameras over the network, allowing you to stream video directly into the system. It facilitates the entry of required credentials, camera address, and settings.
📥 Inputs
This block does not require any inputs.
📤 Outputs
Image Any
This output provides the latest frame captured from the IP camera.
🕹️ Controls
Username
Optional field for entering the camera's username. Many cameras default to admin
.
Password
Optional field for entering the camera's password. Many cameras have a default password as well.
Address
The field where you input the camera's address in RTSP format, e.g., rtsp://192.168.0.16:554
.
Reconnect
A button allowing you to reconnect to the IP camera after changes in settings.
Stream Mode
A checkbox to enable or disable streaming mode for the video feed.
Stream Quality
A dropdown menu to select video stream quality from available options (e.g., Best, 720p, 1080p).
[frame/sec] - Optional
An optional field to define the custom frame rate for the stream.
🎨 Features
Dynamic Connection
The block can dynamically adjust the connection settings based on user input to reconnect as needed.
Error Logging
Warnings and errors are logged for ease of debugging when connections fail or settings aren’t met.
Flexible Streaming Options
Choose different stream qualities and configure performance with customizable frame rates.
📝 Usage Instructions
Enter Camera Credentials: Input the username and password for the IP camera if required.
Provide Camera Address: Enter the camera's RTSP streaming address in the appropriate field.
Configure Stream Options: Check the
Stream Mode
box if you want to stream live video, and select an appropriate quality from the dropdown.Set Frame Rate (Optional): If needed, specify the desired frame rate for the camera stream.
Reconnect: Click the
Reconnect
button to establish a connection with the IP camera based on your settings.
📊 Evaluation
Upon evaluation, this function block will attempt to connect to the specified IP camera and provide the latest frame captured as the output.
💡 Tips and Tricks
🛠️ Troubleshooting
Last updated