WebRTC native java / android

I can create the libjingle library as well as create the AppRTCDemo application on Android. I can connect to analogs and successfully share audio and video. Now I want to expand it to send data (say, the text "HelloWorld"). I want to integrate a DataChannel into it so that I can also send data through it.

I have a few questions:

  • Can I use DataChannel with native webrtc? I mean what I'm trying to do is support?
  • Is there an example application or example that could solve this problem for me?

Looking forward to support you!

+6
source share
1 answer
  • Yes, it is supported. For more information on the exact interface, see

    <libjingle-src>/talk/app/webrtc/java/src/org/webrtc/PeerConnection.java <libjingle-src>/talk/app/webrtc/java/src/org/webrtc/DataChannel.java

  • As far as I know, there are no examples.

+3
source

Source: https://habr.com/ru/post/957645/


All Articles