maartenbreddels / ipywebrtc

WebRTC for Jupyter notebook/lab
MIT License
241 stars 40 forks source link

Generalization of Camera Stream in context of IP Cameras / Headless Jetson Nano #61

Open milindparikh opened 5 years ago

milindparikh commented 5 years ago

I have been able to install ipywebrtc on a headless Jetson Nano with multiple IP Cameras (aka remote-cameras). I am accessing the ipywebrtc through jupyter notebook on another machine (aka local-machine).

The network is dynamic (DHCP). Let's assume that the addressing the IP cameras and authenticating to IP cameras is a solved issue (auto-discovery through nmap, auth information stored elsewhere)

In other words, cap = cv2.VideoCapture("rtsp://user:password@xx.xx.xx.xxx:554/cam/realmonitor?channel=1&subtype=1") ret, frame = cap.read() returns a good frame that can be displayed through plt.imshow()

The CameraStream makes use of the specific camera installed on the local-machine. How to enable the use of remote cameras through the CameraStream?

maartenbreddels commented 5 years ago

There is no support for remote cameras directly, but you can stream it over Weber,. See the chat room examples. Cheers

(from mobile phone)

On Sat, 10 Aug 2019, 00:46 Milind, notifications@github.com wrote:

I have been able to install ipywebrtc on a headless Jetson Nano with multiple IP Cameras (aka remote-cameras). I am accessing the ipywebrtc through jupyter notebook on another machine (aka local-machine).

The network is dynamic (DHCP). Let's assume that the addressing the IP cameras and authenticating to IP cameras is a solved issue (auto-discovery through nmap, auth information stored elsewhere)

In other words, cap = cv2.VideoCapture("rtsp://user:password@xx.xx.xx.xxx :554/cam/realmonitor?channel=1&subtype=1") ret, frame = cap.read() returns a good frame that can be displayed through plt.imshow()

The CameraStream makes use of the specific camera installed on the local-machine. How to enable the use of remote cameras through the CameraStream?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/maartenbreddels/ipywebrtc/issues/61?email_source=notifications&email_token=AANPEPPTWLUWY6BIQUI4M3LQDXXSZA5CNFSM4IKX2JFKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HEP4UZQ, or mute the thread https://github.com/notifications/unsubscribe-auth/AANPEPPUJVA5ETXHGXWXVPDQDXXSZANCNFSM4IKX2JFA .