static.index.html Maven / Gradle / Ivy
Show all versions of kurento-show-data-channel Show documentation
Kurento Tutorial: WebRTC Show Data channel
Tutorial: WebRTC Show Data Channels
This application shows an example on the use of WebRTC Data
Channels with Kurento. The Media
Pipeline is composed by a WebRtcEndpoint connected to a KmsShowData.
This Media Element is a test element aimed to show the capabilities
of Kurento Media Server for Data Channels. Internally it is able to
read the data received on the Data Channels. In addition it uses a GStreamerFilter
configured to overlay the read text in the media stream. Finally,
the KmsShowData is connected again to the same WebRtcEndpoint,
closing the loopback. In the client side the WebRtcPeer is setup in
receive-only mode, and the user is able to introduce text that is
sent to the server by means of Data Channels Metadata. To run this
demo follow these steps:
- Open this page with a browser compliant with WebRTC and
click on Start button.
- Write something on the text area labeled as Text to
be sent and click on Send button
- This text should be sent to the server and overlayed on the
remote stream.
- Click on Stop to finish the communication.