ethand91 / mediasoup-ios-client

Mediasoup 3 iOS Client
ISC License
130 stars 64 forks source link

Can 'RTCPeerConnectionFactoryOptions' reinterpret to 'mediasoupclient::PeerConnection::Options' ? #80

Open ploverlake opened 4 years ago

ploverlake commented 4 years ago

Hi, I found this statement mediasoupclient::PeerConnection::Options* pcOptions = reinterpret_cast<mediasoupclient::PeerConnection::Options *>(options); in the method DeviceWrapper::nativeCreateSendTransport, and the original type of options is RTCPeerConnectionFactoryOptions.

supermario11 commented 3 years ago

@ploverlake Have you solved the problem? I also need to use Options

ploverlake commented 3 years ago

@ploverlake Have you solved the problem? I also need to use Options

I changed the type of param options of DeviceWrapper::nativeCreateSendTransport to void *, and pass a real argument of mediasoupclient::PeerConnection::Options * to this method.

supermario11 commented 3 years ago

@ploverlake Have you solved the problem? I also need to use Options

I changed the type of param options of DeviceWrapper::nativeCreateSendTransport to void *, and pass a real argument of mediasoupclient::PeerConnection::Options * to this method.

Do I need to compile the framework myself? Can you share it with me? Thank you

ploverlake commented 3 years ago

@ploverlake Have you solved the problem? I also need to use Options

I changed the type of param options of DeviceWrapper::nativeCreateSendTransport to void *, and pass a real argument of mediasoupclient::PeerConnection::Options * to this method.

Do I need to compile the framework myself? Can you share it with me? Thank you

Yes, I have made a lot of change and compile it, and I am sorry I can not share it with you.

supermario11 commented 3 years ago

@ploverlake Have you solved the problem? I also need to use Options

I changed the type of param options of DeviceWrapper::nativeCreateSendTransport to void *, and pass a real argument of mediasoupclient::PeerConnection::Options * to this method.

Do I need to compile the framework myself? Can you share it with me? Thank you

Yes, I have made a lot of change and compile it, and I am sorry I can not share it with you.

OK. Can I have my contact information? Compiler encountered problems to you for help

supermario11 commented 3 years ago

@ploverlake Friends, can you share your compilation experience? I can't compile it

ploverlake commented 3 years ago

@ploverlake Friends, can you share your compilation experience? I can't compile it

what’s your email?

supermario11 commented 3 years ago

@ploverlake Friends, can you share your compilation experience? I can't compile it

what’s your email?

657847778@qq.com