Giter Club home page Giter Club logo

Comments (6)

GaelHLago avatar GaelHLago commented on June 17, 2024

use a JSON ?
{
"data": "parameter",
"timestamp": "YourTimestamp"
}

And just use DataChannel to send the json

from apprtc-ios.

adarshvcdev avatar adarshvcdev commented on June 17, 2024

Is there any DataChannel implementation or sample code or documentation for RTCDataChannel implementation?

from apprtc-ios.

hengtelin avatar hengtelin commented on June 17, 2024

hey, I'm new to this repo. So do I need DataChannel if I just need to send a command(used to control a mini car)?

from apprtc-ios.

GaelHLago avatar GaelHLago commented on June 17, 2024

WebRTC doesn't provide signaling, so you probably use WebSocket, XMPP or any signaling protocol. You can send datas from those channels without using datachannels.
Integrating DataChannel isn't so hard, you just have to set the delegate and understand what is a DataChannel for webrtc (check https://developer.mozilla.org/fr/docs/Web/API/RTCDataChannel)

from apprtc-ios.

BenjaminFaal avatar BenjaminFaal commented on June 17, 2024

Hello, i made a pull request for this: #45

from apprtc-ios.

hjh006 avatar hjh006 commented on June 17, 2024

you may use websocket and send a Json

from apprtc-ios.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.