Frage

We would like to be able to leverage WebRTC to provide video chat in several native iOS applications that we have developed for in-house/enterprise use (read: NOT for the Apple AppStore). However, due to the nature of our business, we'd like to be able to encrypt the video stream prior to transmission, and then decrypt it once it is received on the other end.

I've taken a quick look at the AppRTC demo to get a little familiar with WebRTC in general. I've also found a Java port of the demo that we can use as a starting point in standing up a WebRTC server. What I have no found, however, is any mention of encryption within WebRTC. Is this something that is supported within the protocol at all? If so, are there standard algorithms/keylengths specified for use? If it is not built into the protocol, is it something that could easily be incorporated as a sort of "extension" of WebRTC we would code ourselves?

I'd be very interested in any experiences you may have had or products you have worked with to accomplish anything similar to this.

War es hilfreich?

Lösung

All your WebRTC components should be encrypted using DTLS. (source, spec)

Both Chrome and FireFox implement this. (source)

The use of plain RTP is specifically prohibited. (source)

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top