CoWIN automation using selenium, AWS cloud and custom android app

Last week it has been a struggle like no other in my country – India. With the COVID-19 second wave gripping the entire country, the only option has been to get vaccinated as soon as possible. and to add to misery it has been almost impossible finding a slot through the official portal or application.

While the efforts of the govt are appreciable in such conditions, the fact still remains that finding & booking an appointment online is very difficult owing to the number of people that are competing for the same resources. Anyways long store short.. i wanted to make this a bit simpler for myself as i could not keep up with checking the portal manually myself (not to mention the seriously short period of session time before auto-logout).

The solution was to create a program that could do everything I do manually to at least keep an eye out for open slots. So I set out to create a small python program using selenium (with chromedriver) which can access and crawl the website for data and report back to me on mobile as soon as it sees available slots. Here is how it works:


Authenticating subscribers in a Red5 Pro Application

This article discusses the issue of stream security for subscribers over the various protocols supported by Red5pro (RTMP, RTSP and WebRTC) programmatically. IF you are new to the world of Red5/Red5Pro, I would suggest taking a peek at the Red5 development series on Github. Here you can find information ranging from what is Red5 to how to create and debug an application.


Capturing client parameters in a Red5pro application

Capturing parameters passed from client to Red5pro server application is a very simple and useful step if you wish to capture data from the client on connection for authentication, validation etc:.

When working with Red5pro, you have different types of clients that can connect to Red5pro – Flash(RTMP), Android/IOS(RTSP), and HTML5(RTC) clients. Each client transmits parameters in a different way. Hence for proper handling, it is recommended to check the client connection type and then devise your parameter collection logic.

In this article, we shall see how to build a simple logic that checks for client type and extract connection parameters accordingly. The recommended parameters capturing point is the appConnect method of your application adapter class. This is the method which gets invoked when a compatible client tried to connect to Red5pro.

Vdoo – streaming and download [ Update 0.0.4!! ]

Vdoo streaming & download app: New servers added!! (more…)