Changeset 188 for pjproject/trunk/pjmedia/src/test/rtp_test.c
- Timestamp:
- Feb 15, 2006 12:24:23 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/test/rtp_test.c
r65 r188 22 22 int rtp_test() 23 23 { 24 pj _rtp_session rtp;24 pjmedia_rtp_session rtp; 25 25 FILE *fhnd = fopen("RTP.DAT", "wb"); 26 26 const void *rtphdr; … … 30 30 return -1; 31 31 32 pj _rtp_session_init (&rtp, 4, 0x12345678);33 pj _rtp_encode_rtp (&rtp, 4, 0, 0, 160, &rtphdr, &hdrlen);32 pjmedia_rtp_session_init (&rtp, 4, 0x12345678); 33 pjmedia_rtp_encode_rtp (&rtp, 4, 0, 0, 160, &rtphdr, &hdrlen); 34 34 fwrite (rtphdr, hdrlen, 1, fhnd); 35 35 fclose(fhnd);
Note: See TracChangeset
for help on using the changeset viewer.