RTSP Video Stream Transmit
R2026bLibraries:
Raspberry Pi Blockset /
Audio and Video
Description
Use the RTSP Video Stream Transmit block to stream video to network over real-time streaming protocol (RTSP). You can stream grayscale, RGB, or YCbCr video over a network and view it on devices connected to the same network. You can also encode the video stream using the H264 or JPEG standards.
Note
To generate C/C++ code for this block, you must have an Embedded Coder® license.
When using this block in a Simulink® model, use a minimum of 256 MB of Raspberry Pi® GPU memory to avoid any deterioration in the video feed using the RTSP protocol.
Examples
Ports
Input
Parameters
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"raspberrypiAVlib/RTSP Video Stream Transmit"
Example: add_block("raspberrypiAVlib/RTSP Video Stream Transmit","myModel/myBlock",MakeNameUnique="on")
Extended Capabilities
Version History
Introduced in R2024a

