-
-
Notifications
You must be signed in to change notification settings - Fork 338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement RTCPeerConnection.addTransceiver #589
Comments
Related: w3c/webrtc-pc#2024 |
Related
See |
@hthetiot thanks for all the reference material. I'm planning to start diving into this today. |
|
func peerConnection(_ peerConnection: RTCPeerConnection, didStartReceivingOn rtpTransceiver: RTCRtpTransceiver) {
NSLog("PluginRTCPeerConnection | didStartReceivingOn rtpTransceiver")
} |
Other RTCPeerConnection property and methods that you can use are:
|
Thanks for the additional info @hthetiot. I started diving into the code for this yesterday, wrapping my head around all the changes needed. Should make some good progress today. |
@hthetiot sorry for the delay, I took a day off and then had to rework this a couple times to get it as close to spec as possible. I'm very close, but hit an issue when compiling that I can't find a fix for. I'm guessing it's related to the webrtc header files (maybe related to missing This shows up if I try to cast to the |
No need to apologise, take all the time you need. Regarding Another point I want to raise is you may check that task/8.0.0 branch since it contains a more recent version of WebRTC. |
The If you want to try debugging it a little in v6, you can add this line to any of the bridge methods in let fakeInit = command.argument(at: 5) as! RTCRtpTransceiverInit Even if you don't use |
@hthetiot I confirmed it builds successfully when rebased on the 8.0.0 branch. Based on the 8.0.0 requirement, and the fact that I used typescript for the front end files, I'm not sure exactly how I should PR this. Would you like me to do it against the 8.0.0 branch and include everything in master + typescript? |
@dgreif we could step 1 release Typescript in 6.1.0, step 2 rebase master in tasks/8.0.0 then merge your Transceiver. Did you try 7.0.0. |
We can do that. |
@dgreif let me know if you want me to help. Feel free to push draft PR of work in progress. |
@hthetiot @dgreif Hello, I've been trying to implement support for addTransceiver as well. I've made some WIP progress (based of task/8.0.0 branch) and wonder if any of you would like to take a look at it? I'm not very experienced with neither Cordova or WebRTC in general, but I've been trying to follow the existing code style and practices. I don't want to step on anyone's toes (@dgreif ) but since there's not been any activity in this issue since last November I went ahead and started. Here's a link to the diff of branch I'm working in: What I've done so far:
What I think is remaining:
|
thx @agelito feel free to make PR |
Landed on task/8.0.0 branch see #545 |
Versions affected
Description
Currently iosRTC DOES NOT support addTransceiver.
Expected results
Be able to use addTransceiver.
Actual results
addTransceiver is not a fonction.
References:
The text was updated successfully, but these errors were encountered: