今天遇到一个问题:交叉编译jthread和jrtp,然后将生成的静态库文件copy到我们自己的工程里面,我们的工程调用jrtp.a里面的函数,从网络上获取rtp数据,但是在status = sess.Create(sessparams,&transparams);的时候程序崩溃了,原因是transparams变量对应的类
class JRTPLIB_IMPORTEXPORT RTPUDPv4TransmissionParams : public RTPTransmissionParams
{
public:
RTPUDPv4TransmissionParams();
/** Sets the IP address which is used to bind the sockets to \c ip. */
void SetBindIP(uint32_t ip) { bindIP = ip; }
/** Sets the multicast interface IP address. */
void SetMulticastInterfaceIP(uint32_t ip) { mcastifaceIP = ip; }
/** Sets the RTP portbase to \c pbase, which has to be an even number
* unless RTPUDPv4TransmissionParams::SetAllowOddPortbase was called;
* a port number of zero will cause a port to be chosen automatically. */
void SetPortbase(uint16_t pbase) { portbase = pbase; }
/** Sets the multicast TTL to be used to \c mcastTTL. */
void SetMulticastTTL(uint8_t m