RTP jrtplib library programming, application compilation Error

Source: Internet
Author: User
RTP jrtplib library programming, application compilation error -- Linux general technology-Linux technology and application information, the following is a detailed description. Hello everyone, please take a look at the reason for this. The programming method is based on what I said on the Internet, but I have reported these errors for a long time and I don't know why, could you please help me? Thank you.
[Root @ localhost C ++] # g ++-o send. C-I/usr/local/include/jrtplib3/
Send. C: In function 'void checkerror (int )':
Send. C: 24: Error: 'std: string' cannot be converted to 'Char * '. In initialization
Send. C: In function 'int main (int, char **)':
Send. C: 56: error: the call to 'rtpsession: Create (int) 'does not have a matched function.
/Usr/local/include/jrtplib3/rtpsession. h: 89: Note: Optional: int RTPSession: Create (const RTPSessionParams &, const sessions *, RTPTransmitter: TransmissionProtocol)
/Usr/local/include/jrtplib3/rtpsession. h: 98: Note: int RTPSession: Create (const RTPSessionParams &, RTPTransmitter *)
Send. C: 60: Error: no matching function is available for 'rtpsession: AddDestination (long unsigned int &, int &) 'calls.
/Usr/local/include/jrtplib3/rtpsession. h: 117: Note: Alternative: int RTPSession: AddDestination (const RTPAddress &)
Send. C: 67: Error: 'class rtpsession' has no member named 'setdefaulttimestampincrement '.
[Root @ localhost C ++] #

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.