Project

General

Profile

Wt and WebRTC

Added by Vyacheslav Blinov about 12 years ago

Does Wt plans on some kind of own integration with WebRTC?

I'm currently interesting in developing p2p calls webapplication with WebRTC and interested in how hard can it be to do that with Wt.


Replies (3)

RE: Wt and WebRTC - Added by Wim Dumon almost 12 years ago

Hello,

We're not aware of any webrtc work being done in combination with Wt.

I haven't looked into webrtc details yet, so I don't know what it would take to integrate it in Wt.I assume we'll be supporting it at some point in the future - if you'd have specific plans to use webrtc in combination with Wt, we're absolutely interested in hearing your opinion about how it could/should be integrated.

Best regards,

Wim.

RE: Wt and WebRTC - Added by Vyacheslav Blinov almost 12 years ago

Wim,

Thanks for reply.

As I said I want to create a corporate collaborative documents editor with p2p calls in it, so people can talk to each other while editing document together. So, as Wt does not aware of it, my plan is at least to have a livecam widgets in a frontend, with implementation latest W3C proposal of WebRTC API integrated into Wt, so it fits nicely in my project based on Wt (eg I need to implement new WInteractiveWidget in all details). I don`t think I should have a backend of callserver in my Wt application, as it sounds as a big load, so I plan to develop it as a separate server app (not shure about details yet).

WebRTC looks promising, some big companies are already have working prototypes (vk.com, facebook, mail.ru), so I thought that I should not reinvent the weel and give it a try.

You can take a look at WebRTC FAQ 'How do I develop a video chat application in a web page?' to find out about WebRTC in short, and see live examples with chrome/chromium browser.

RE: Wt and WebRTC - Added by Wim Dumon almost 12 years ago

Hi,

From a quick look, it looks like you'll be able to interact with WebRTC using the doJavaScript() calls in Wt. This should be rather straightforward. You should also be able to link existing video/audio elements to the webrtc streams, either by setting a URL, or by using getJsRef() of those classes.

Regards,

Wim.

    (1-3/3)