-
-
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
updated webrtc lib to m75 #455
Conversation
Thank you very much @akilude |
I'm not sure why the Travis build fail @akilude did you compile for x86 and armv7 ? |
I haven't run it yet, was busy, will run it in a day or two, sorry for the late reply @hthetiot |
No worries @akilude we all busy, that already fantastic that you helping. |
i tried the app, it's not compiling, i think its due to the swift changes that need to be made. |
Yes that what I was suspecting, I will look when I have time, fell free to past Xcode error here. |
Can you update code with m75 framework? |
@panassidi Sorry I dont have the bandwitht yet for that. |
I compiled m75 but my app do not compile |
@panassidi yes that why this PR is still open, we need to update the Swift code it's not enough to replace the WebRTC.framework you need also to replace the WebRTC binary also. If you can try to test that branch and try to compile you application using Xcode and provide the Xcode errors that may help this issue to get closed. Note: you need to use the instructions on the issue description to compile WebRTC outside WebRTC will not work. |
This is the error from XCode: /Users/dartagnan/Apps/JoConnectBeta/platforms/ios/JoConnectBeta/Plugins/cordova-plugin-iosrtc/PluginMediaStreamRenderer.swift:4:45: Use of undeclared type 'RTCEAGLVideoViewDelegate' I can read on plugin notes (cordova-plugin-iosRTC) "Use clean WebRTC.framework build with x86 and arm support, remove debug patches. Remove custom patches (RTCVideoFrame.h, RTCEAGLVideoView.h) Import RTCMTLVideoView.h to fix Metal related crashes later. How can I remove custom and debug patches? |
Here the errors from Xcode: /Users/dartagnan/Apps/JoConnectBeta/platforms/ios/JoConnectBeta/Plugins/cordova-plugin-iosrtc/PluginMediaStreamRenderer.swift:4:45: Use of undeclared type 'RTCEAGLVideoViewDelegate' I can read on roject note (cordova-lugin-iosrtc) Remove custom patches (RTCVideoFrame.h, RTCEAGLVideoView.h) How can I remove debug and custom patches? |
Thank you @panassidi as I told you for now I don't have the time to handle this issue, however this PR goes in the right direction, I think #427 |
Pushed https://github.com/cordova-rtc/cordova-plugin-iosrtc/tree/task/m75 with master merged if you want to rebase @akilude |
@akilude Can you merge akilude#1 To test task/m75
Test Capturecc @panassidi
The only issue was to expose the missing RTCEAGLVideoViewDelegate via src/cordova-plugin-iosrtc-Bridging-Header.h, All I had to do was to understand the error and instead of patching WebRTC I used cordova-plugin-iosrtc-Bridging-Header.h to expose RTCEAGLVideoViewDelegate to Swift. |
…f RTCMediaStream.streamId
…reamTrack only if rtcMediaStream.streamId or rtcMediaStreamTrack.trackId start with 'janus' to fix PeerConnection.addStream|addTrack regression
…reamTrack only if rtcMediaStream.streamId or rtcMediaStreamTrack.trackId start with 'janus' to fix PeerConnection.addStream|addTrack regression
…eam like addTrack
…o populate foundation, component, priority, type, address, ip, protocol, port, relatedAddress and relatedPort RTCIceCandidate values
@hthetiot it's done, thank you. |
@akilude let me know if your test work, with akilude/cordova-plugin-iosrtc@639873c change it mean we should not need to patch WebRTC on the next update. |
Hi, @hthetiot , little busy with work, also will get an iphone to test a little later, so might take a day or two to test it. |
No problem @akilude |
Hi @hthetiot , It works! |
This is for #452
Steps i followed:
If you want to merge, please test.
Thanks.