|
Hello I’m trying to create a flowgraph which will simply open a wav
file and send it to a predetermined client (transport address) via RTP/PCMU. 1) Every time I run this, I’m getting a segfault (not an abort).
The backtrace suggests it’s: [004]: 0x00efa91a:
/usr/local/sipx/lib/libsipXmedia.so.1(MpBuf_getBufY(__MpBufPool_tag*, int, int,
MpBufFormat)+0x3e) -> no symbol found [005]: 0x00f0b05e:
/usr/local/sipx/lib/libsipXmedia.so.1(MprDecode::doProcessFrame(__MpBuf_tag**,
__MpBuf_tag**, int, int, int, int, int)+0x8a) -> no symbol found 2) Also, Do I need to create the Datagram sockets explicitly like this? Any help is appreciated. Thanks, Paul #define MAX_GRAPHS_TO_MANAGE
16 OsDatagramSocket*
posDatagramSocketRtp = new OsDatagramSocket(_remoteRTPport,
_remoteRTPIPAddress.c_str(), _localRTPport); OsDatagramSocket*
posDatagramSocketRtcp = new OsDatagramSocket(_remoteRTPport + 1,
_remoteRTPIPAddress.c_str(), _localRTPport); SdpCodec* pSdpCodec = new
SdpCodec(SdpCodec::SDP_CODEC_PCMU); MpMediaTask* pMediaTask =
NULL; pMediaTask =
MpMediaTask::getMediaTask(MAX_GRAPHS_TO_MANAGE); mpStartTasks(); MpCallFlowGraph*
pMpCallFlowGraph = new MpCallFlowGraph();
pMpCallFlowGraph->playFile("file://
OFFLINE_DURING_MSG_REVIEW.wav", true, MpCallFlowGraph::TONE_TO_NET);
pMpCallFlowGraph->createConnection();
pMpCallFlowGraph->startSendRtp(*pSdpCodec,
(OsSocket&)(*posDatagramSocketRtp), (OsSocket&)(*posDatagramSocketRtcp)); |
_______________________________________________ sipxtapi-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/
