Comments (2)
Hi, Yes there is a usage of data channels in this demo app. It it used to send a message to the other peer via the UI. It is initialized together with the audio and video tracks in createMediaSenders()
from webrtc-ios.
@stasel Merry Christmas! Thanks your your prompt reply and thank you for WebRTC SPM package, it is great!
My question above was specifically about localDataChannel
variable, it is private
and it is initialized here, but it is never used.
The other "twin" channel remoteDataChannel
is on the other hand used, here when sending data, it gets set when the callback peerConnection:didOpen
is called here
I think it IS needed actually, but indeed "never used", it makes it so that the RTCOffer
contains a DataChannel and it is needed as a "hook" for RTCDataChannelDelegate
.
In my own code base I to not have the remoteDataCannel
at all, I use the single one, i.e. I send data on the localDataChannel
once it gets open.
from webrtc-ios.
Related Issues (20)
- ITMS-90338: Non-public API usage with 107.0.0 HOT 1
- video Quality issue HOT 3
- By using "GoogleWebRTC", How can we avoid NOISE SUPRESSION HOT 2
- Can not connect with Firestore HOT 1
- Signaling server via firebase firestore
- Signling Status Not Connected. HOT 1
- Browser can't see my video/audio but I can
- Where can I apply metal shaders?
- Unknown crash only when kRTCMediaConstraintsOfferToReceiveAudio set to true
- Remote SDP never received. HOT 2
- Remote SDP never received. HOT 1
- Aborting after deadlock HOT 3
- can I get transcribe audio from video call from caller HOT 2
- CVPixelBuffer to WebSocket HOT 2
- Remote video / audio not working
- Video streaming does not work on iphone 15 pro max after 10 second
- Capture only audio
- not working with http server url HOT 1
- Need to establish server in java. Please provide the setup. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webrtc-ios.