# Tutorial: WebRTC Send Data Channels

This application shows an example on the use of WebRTC Data Channels with Kurento. The Media Pipeline is composed by a PlayerEndpoint which feeds media a KmsSendData. This Media Element is a test element aimed to show the capabilities of Kurento Media Server for Data Channels. Internally it is composed by a ZBarFilter, which is another Media Element that detects Bar/QR codes in a media stream. This information is sent as WebRTC Data Channel Metadata by KmsSendData to the last element of the pipeline, i.e. a WebRtcEndpoint. In the client side the WebRtcPeer is setup in receive-only mode, and the received data is shown in the GUI. To run this demo follow these steps:

1. Open this page with a browser compliant with WebRTC.
2. Click on Start button.
3. Watch the received data on the text area labeled as Data received
4. Click on Stop to finish the communication (or wait until the video ends).

### Remote stream

Start Stop
Data received
Console