Skip to content
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

Inconsistencies between Native Library, APIDefinitions and usage within the project #1

Open
askazombie opened this issue Nov 11, 2020 · 6 comments

Comments

@askazombie
Copy link

Hi,
I am trying to build your project after following through your articles in Medium, but facing the following issues out of the box:

  1. All usings are written as WebRTC.iOS.Binding instead of WebRTC.iOS.Bindings
  2. Once the namespace imports are fixed, this error comes up - 'DataChannelNative' does not implement interface member 'IRTCDataChannelDelegate.DataChannel(RTCDataChannel, RTCDataBuffer)' (CS0535) (WebRTC.iOS)
  3. In FileVideoCapturer, RTCFileVideoCapturer does not contain a constructor that takes 1 argument.
  4. In RTCConfigurationExtensions, 'RTCConfiguration' does not contain a definition for 'UseMediaTransportForDataChannels' and 'UseMediaTransportForDataChannels' (CS0117) (WebRTC.iOS).
  5. In PeerConnectionFactoryNative.cs - 'RTCCameraVideoCapturer' does not contain a constructor that takes 1 arguments (CS1729) (WebRTC.iOS)
  6. In RtpTransceiverNative.cs - 'IRTCRtpTransceiver' does not contain a definition for 'Stop' and no accessible extension method 'Stop' accepting a first argument of type 'IRTCRtpTransceiver' could be found (are you missing a using directive or an assembly reference?) (CS1061) (WebRTC.iOS)

Could you please upload the native library that you built for iOS, the APIDefinitions.cs that you used in the final working project, and also the complete working project in iOS? I was able to get the Android working properly, but the above issues in iOS keeps me from getting it running.

Appreciate your effort and contribution to the community!!

@Onotseike
Copy link
Owner

Hi @askazombie my apologises for the confusion. I have been working with different ways to create the a unified library hence the mix ups.
This repo: https://github.com/Onotseike/xamarin_webrtc/tree/master/WebRTC_iOS/webrtc_ios
Has the more accurate binding for iOS. I might break somethings along the line

@askazombie
Copy link
Author

askazombie commented Nov 11, 2020

Hi there.. Nothing to apologize for! Thanks for responding.. could you please check the link or make it public? Not able to access the link you just shared..

@Onotseike
Copy link
Owner

I have made it public

@askazombie
Copy link
Author

Thank you.

@abhcr
Copy link

abhcr commented Nov 14, 2020

@askazombie You could also try the iOS binding project from the fork https://github.com/Onotseike/apprtc-ios-xamarin which is already public. That worked for me.

@askazombie
Copy link
Author

@abhcr That works!! Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants