WebRtc.NET
WebRtc.NET copied to clipboard
InitializePeerConnection function doesn't return Boolean value correctly
InitializePeerConnection function in this file deosn't return correct value https://github.com/radioman/WebRtc.NET/blob/staging/WebRtc.NET/WebRtcNative.cs#L86
I found the solution it needs to be :
[DllImport(dll)]
[return: MarshalAs(UnmanagedType.I1)]
static extern bool InitializePeerConnection(IntPtr p);
i added [return: MarshalAs(UnmanagedType.I1)] after [DllImport(dll)] but still it doesn't return bool. Is there any other change needed ?