Comments (3)
Hi @SimonTheCat Thanks for the PR and the suggestion! Sorry for the late response, I have been a bit busy lately. I am working on some improvements to the project and I will definitely consider adding a data channel example.
from webrtc-ios.
@SimonTheCat do you know how to code for 1:Many I really trying but for a 2nd person it does not work I try something like this
private var peerConnections: [String: RTCPeerConnection] = [String: RTCPeerConnection]()
private func _createOffer(hostID: String) {
guard let peerConnection = getPeerConnection(hostID) else {
print("missing peer connection")
return
}
// 1. offer
peerConnection.offer(for: WebRTCUtil.mediaStreamConstraints(), completionHandler: { [weak self] (description, error) in
guard let description = description else {
print("----- no description ----")
return
}
// 2.SDP
peerConnection.setLocalDescription(description, completionHandler: { (error) in
guard let this = self else {
print("missin self")
return }
})
// 3. peerConnection(_ peerConnection: RTCPeerConnection, didChange newState: RTCIceGatheringState)
// complete offer
})
}
after create offer it not connect with peer to send server String with sdp
from webrtc-ios.
Thanks again for your suggestion. I have added a data channel example to the project (see b441a34).
from webrtc-ios.
Related Issues (20)
- video Quality issue HOT 3
- By using "GoogleWebRTC", How can we avoid NOISE SUPRESSION HOT 2
- Q: is `localDataChannel` ever used? 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
- How to Feed AVFoundation CaptureSession into WebRTC's RTCVideoCapturer?
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.