Skip to main content
Developers can stream live camera into a Lens by connecting a RTSP Video Reader data connector to the input data stream of a Lens. Prior to streaming live video to a lens, a developer should first setup their RTSP camera and be aware of the RTSP URL needed to access the camera. This can be done via the RTSP third-party software and not via the Archetype platform. Like all data stream connectors, the RTSP Video Reader can be identified and configured via the following stream type and stream config:
stream_type: rtsp_video_reader
stream_config:
  rtsp_url: "your_rtsp_camera_url"
This can be passed to Newton as an event:
event:
  type: input_stream.set
  event_data:
    stream_type: rtsp_video_reader
    stream_config:
      rtsp_url: "your_rtsp_camera_url"