Grant Brown Posted May 2 Posted May 2 Hi all, 1) Can anyone suggest a IP camera viewer that I can embed in a TUniHTMLFrame 2) Can some one show me how to do that Im using Delphi 12 Thanks in advance Grant Quote
Sherzod Posted May 2 Posted May 2 Hello, 5 minutes ago, Grant Brown said: Im using Delphi 12 Also, please specify which version and edition of UniGUI you are using. Quote
unikart Posted May 3 Posted May 3 I'm also curious about this topic, especially how the UniGUI edition might impact the integration with TUniHTMLFrame. Would be good to know if certain versions have limitations or if there are best practices for embedding live video streams in that component. Looking forward to hearing more. Quote
Fred Montier Posted May 28 Posted May 28 I have done already a project showing just that. See at https://unigui.com.br/ or https://unigui.com.br/uniGUIRTSP-eng.html 1-First, no component or "viewer" will show directly in uniHTMLFrame or uniURLFrame. The problem here is the browser and RTPS. IP Cam works with RTSP where the browser does not support direct feeds in this protocol. So, either you buy a cam with direct support to convert to HTTP/HTTPS/MPEG and then open a regular HTML5 feed, use some JS libs to do just that or use FFMpeg to convert on-the-fly RTSP to feed to your browser (some tricks here). See FFMPEG Util support to such task. It's not easy, because browser were not designed for that. Look, the problem here is the protocol<->browser. You can route your IPCam via OBS to youtube and share the link feed thru they platform. Google it ! Easy peezy. 2-For beginner, buy any modern IP CAM that comes with all of this embedded. Check Specs. Way cheaper ! Or try the hard way: #1. 3-Another option is use third party softwares like camalytics and many other that can transform any feed of RTSP, HTTP/s, MPEG, Cellphone, Webcam in a stream to be open in any where by any browser or use stream features of VLC player. Also, It's not practical use many IP cams to monitor many IP feeds using FFMpeg in browser. There are hardware for this and is a very CPU demanding activity. With solution #1, will be good to 2 feed from RTPS (Ip cams) max ! Your browser cant handle more than that. No matter memory or CPU. And of course, using the browser,like option number #1, is not good to record the feeds. VLC does it better or OBS. Bye... Quote
Fred Montier Posted May 28 Posted May 28 "for embedding live video streams" Just learn about HTML5 and WebRTC you can do anything. Also I have some projects with on that topic. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.