Skip to content

Can't get RTSP stream using RPi node's hostname, but works with its IP address #345

Description

@neerajkc

I have a RPi camera connected to RPi zero 2w on LAN and v4l2rtspserver setup. I am able to receive the video stream on "rtsp://192.168.1.44:8554/unicast", but can't get a connection on "rtsp://rpiz2w1:8554/unicast". I also tried "rtsp://rpiz2w1.local:8554/unicast" but that also doesn't work. Here, IP address is DHCP assigned by router and hostname is rpiz2w1. I am able to ping or ssh into the RPi using both ip address or hostname from my PC, but RTSP is not going through. Any idea how to resolve this? My usecase requires connecting to several RPi+camera nodes via their hostnames since IP addresses may change (say after reboots).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions