Webrtc doubt

webrtc data channel and data are encrypted differently or not

WebRTC data channels are encrypted using DTLS-SRTP, just like audio / video. Note that by default we prefer WebSockets to data channels, and they are encrypted using TLS.