

- #Delphi 10.1 berlin crack update
- #Delphi 10.1 berlin crack android
- #Delphi 10.1 berlin crack code
- #Delphi 10.1 berlin crack Pc
- #Delphi 10.1 berlin crack license
Now you can sit back and enjoy the video on your big screen TV :-) RESTRequest1.AddParameter('v', Copy(LabeledEdit1.Text, Pos('?v=', LabeledEdit1.Text)+3, 9999)) If the YouTube app responds, we post a REST request, adding the parameter of the unique id of the video - parsing the the YouTube URL in the TLabeledEdit to only get the unique id. We add the name of the app - here YouTube to the service URL to get the application URL. Now have the service URL, which is the address the Chromecast device responds to. Part 2 - Start YouTube app and start video. The DIAL protocol used is explained in more detail here. ServURL := copy(servURL,1,Length(servURL)-1) // DIAL REST Service URLĪs you can see I only care for the first device that I get on my list of devices that response - but you can play around and see what other devices you can find using the SSDP protocol, using the commented ST: ssdp:all - and throw the response to a TMemo.
#Delphi 10.1 berlin crack code
On the onClick event of the button, add the following code to broadcast for dial-multiscreen devices: Also set the BroadcastEnabled and the Active properties to true. In a real application you would of cause get the IP by code - but making that both OS independent and handling multiple IP/Adapters - would add more that 2 lines of code :-).
#Delphi 10.1 berlin crack Pc
On the IdUDPClient we set the property BoundIP to the IP address of the PC you will run the application from. Place a TIdUDPClient, a TIdHTTP, a TLabeledEdit, a TButton, a RESTClient and a RESTRequest component on the form - which all should end up looking a bit like this: Embarcadero RAD Studio 10.2.2 Latest Version Download at Softasm - The Delphi programming language was originally developed. Start with a new Desktop application - could also be a mobile application, but since the mobile YouTube app already has support for Chromecast - it would make little sense :-). Delphi FireMonkey RAD Studio Overview Ebook/Video Tutorial Delphi 10.1 Berlin Starter Edition FREE Delphi Zend Studio v10.1 (Win/Lin/Mac.

I have tried to use as little code as possible - leaving out all exception handling :-). It seems that the Chromecast uses a form of DIAL protocol - using UDP to discover and TCP/REST to communicate.Ī word of warning: this is a prof of concept - not ready for production or deployment - you need to do some work yourself to make it fit your needs. I wanted to access the Chromecast from my desktop application, so a simple description of the protocol, would be more helpful, than digging into some API and converting this to my needs.
#Delphi 10.1 berlin crack android
Google does provide an API for iOS, Android and there is an extension for the Chrome browser.
#Delphi 10.1 berlin crack update
So unless you for some reason don't use Chrome as a browser or do not have an iOS or Android phone, this example is not that useful - but it shows the concept.Īnd I think that the Chromecast is a nice $30 device, that like "almost" anything else can be accessed from Delphi :-D (Update: I might end up using Mozilla's cast device, if the rumors are true - see update at the end of post).Ī little while back, I bought a Google Chromecast dongle - a nice inexpensive casting device for your TV, it has built-in support for Netflix, YouTube and various others. Web Application development in Delphi 10.4.This example does not really have any real life usage - since installing Google cast in your Chrome browser or using the YouTube app on your phone would make more sense.
#Delphi 10.1 berlin crack license


