mediasoup-ios-client icon indicating copy to clipboard operation
mediasoup-ios-client copied to clipboard

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

Open ploverlake opened this issue 3 years ago • 8 comments

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.

ploverlake avatar Sep 03 '20 06:09 ploverlake

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

supermario11 avatar May 15 '21 03:05 supermario11

@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.

ploverlake avatar May 15 '21 04:05 ploverlake

@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

supermario11 avatar May 15 '21 04:05 supermario11

@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.

ploverlake avatar May 15 '21 04:05 ploverlake

@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 avatar May 15 '21 04:05 supermario11

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

supermario11 avatar Jun 04 '21 09:06 supermario11

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

what’s your email?

ploverlake avatar Jun 04 '21 09:06 ploverlake

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

what’s your email?

[email protected]

supermario11 avatar Jun 04 '21 09:06 supermario11