Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread Is this Kind of Appl. Doable with Delphi/EWB ?
Tue, Dec 20 2016 3:31 PMPermanent Link

A.Kyr

Hi to everybody.
Recently, i have been requested the developing of a web application - something like a small skype - that would provide except the classic (login, insert/save/search & browse data etc) the following functionalities which are new for me:
•   the subscribers should be connected to our server as groups (of 2 or 3) and have video conference between them
•   The capability of connection/conference should be controlled & logged by our server
•   the clients must be not only windows but also mac and tablets / smartphones (the cover of tablet/smartphones could come afterwards the desktop)
I  have a 20 years experience in Delphi with C/S and 3tier appls but this is "terra incognita" for me. For server side i consider to use delphi and custom made server (with kbmmw of realthinclient) as  a start. But i am completely lost for which, what kind of other libraries i must use (probably supporting for Real Time Streaming Protocol).
Has anybody any repellent experience or at least any hint? If the projects' demands as i described above aren't clear, i will be more than happy to explain them further.
But the main question is: Is something like this doable with Delphi , EWB and any proposed library, component etc)
Thanks in advance for any reply or hint

Regards
A.Kyriakos
Tue, Dec 20 2016 9:25 PMPermanent Link

erickengelke

Avatar

A.Kyr wrote:

> Recently, i have been requested the developing of a web application - something like a small skype - that would provide except the classic (login, insert/save/search & browse data etc) the following functionalities which are new for me:


EWB is Javascript + HTML.  They usually have limited access to video cameras.  Its somewhat doable with Cordova (used to be called PhoneGap) to record snippets of video and send them up - but I don't know if it will be continuous, it might have small breaks.  For tranmission to the server and back, use WebSockets.  Delphi could do continuous video, but doesn't support as many platforms as cordova..

<plugs on>
My Using EWB book shows cordova use with the camera, and you can extend that to video clips, and it shows web sockets.  So it might save you a few hours of experimenting, take it or leave it.

To save mega-time mORMot is an open source Delphi middleware, and adding web sockets with it is trivial.  And it supports logins, logoffs, etc.  But if you want a web login with EWB to mormot, you *need* my Enterpirse Delphi Databases book because there are no other examples.  It will take days to weeks to do it yourself, but with my samples it would take hours.

http://www.erickengelke.com
<plug off>


>But the main question is: Is something like this doable with Delphi , EWB and any proposed library, component etc)
Thanks in advance for any reply or hint

I would think it would be easier to do in Delphi Berlin , and I'm not sure it is doable with EWB clients, but maybe using the hints I gave..
http://www.erickengelke.com
Wed, Dec 21 2016 4:00 AMPermanent Link

Matthew Jones

A.Kyr wrote:

> anybody any repellent experience

Plenty, and perhaps some relevant experience too, automatic spell checkers eh? 8-)

There are web based conferencing systems, and the key here is making sure that what you want to do in the browser is possible in the browser. Don't worry about how - it will be Javascript somehow, with Browser support. If it is possible, then EWB will be able to work with it and will be a good way to do it as a Delphi developer.

So start by defining the core technological requirements, and find examples of those working in the browser. Then you can work out how to make it happen for yourself.

--

Matthew Jones
Wed, Dec 21 2016 9:01 AMPermanent Link

Raul

Team Elevate Team Elevate

On 12/20/2016 3:31 PM, A.Kyr wrote:
> Recently, i have been requested the developing of a web application - something like a small skype - that would provide except the classic (login, insert/save/search & browse data etc) the following functionalities which are new for me:
> •   the subscribers should be connected to our server as groups (of 2 or 3) and have video conference between them
> •   The capability of connection/conference should be controlled & logged by our server
> •   the clients must be not only windows but also mac and tablets / smartphones (the cover of tablet/smartphones could come afterwards the desktop)
> I  have a 20 years experience in Delphi with C/S and 3tier appls but this is "terra incognita" for me. For server side i consider to use delphi and custom made server (with kbmmw of realthinclient) as  a start. But i am completely lost for which, what kind of other libraries i must use (probably supporting for Real Time Streaming Protocol).
> Has anybody any repellent experience or at least any hint? If the projects' demands as i described above aren't clear, i will be more than happy to explain them further.
> But the main question is: Is something like this doable with Delphi , EWB and any proposed library, component etc)
> Thanks in advance for any reply or hint

Just to add what others have said - it's all about browser support for
this if you want to do it natively in EWB/Javascript.

Number of similar solutions out there today still rely on plugins or
such to make it work since ensuring browser compatibility is still
tricky - see links below.

The tech you want is WebRTC and support for this is still somewhat
limited. There are general browser support issues (does browser support
WebRTC in general) and also does it support what you need (audio/video
etc) or just a small subset.

Basic browser capability matrix :

http://caniuse.com/#search=webrtc

and somewhat better one showing capabilities

http://iswebrtcreadyyet.com/

Another good resource to start with is this one

https://webrtc.org/


Assuming your users use supported browsers and grant browser/app access
you can maybe solve this on desktop. For apple iOS (iphones/ipad) you'd
need to write a custom app since safari sucks for it.


Final challenge will be to bring all of this into EWB using external
interfaces which should be quite doable if you can solve the browser
compatibility and mobile issues.

Raul
Image