Click here to Skip to main content
15,918,041 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalwrite text for read only Pin
Member 20973435-Jul-05 19:08
Member 20973435-Jul-05 19:08 
GeneralRe: write text for read only Pin
Christian Graus5-Jul-05 19:35
protectorChristian Graus5-Jul-05 19:35 
GeneralRe: write text for read only Pin
David Crow6-Jul-05 2:47
David Crow6-Jul-05 2:47 
GeneralRe: write text for read only Pin
Christian Graus6-Jul-05 11:15
protectorChristian Graus6-Jul-05 11:15 
QuestionHow to store RTP payload (G.711) to file? Pin
Ravi Sankar S5-Jul-05 18:35
Ravi Sankar S5-Jul-05 18:35 
AnswerRe: How to store RTP payload (G.711) to file? Pin
Jose Lamas Rios5-Jul-05 18:58
Jose Lamas Rios5-Jul-05 18:58 
AnswerRe: How to store RTP payload (G.711) to file? Pin
Alexander M.,6-Jul-05 3:15
Alexander M.,6-Jul-05 3:15 
GeneralRe: How to store RTP payload (G.711) to file? Pin
Ravi Sankar S10-Jul-05 19:53
Ravi Sankar S10-Jul-05 19:53 
Thanks Alex....

Thanks for ur suggestion. Let me explain the application bit more detail. It is recording application. the functionality is to record the VoIP calls going on in a LAN. So application can receive multiple VoIP call data. For each call there are sending and receiving ports. Since the packets are targetted to my system, I can not use normal socket for receiving the paceket I have to receive the packet using promisious more using any packet capture library. I am using WinPCap used which is widely used.

When I receive the packet in promisious mode i am able to capture the packet, i am able to parse it and store the packet. The codec in which i receive the packet is G.711. When i store the pay load with proper WAVE file header and specify that it is G.711 format i am unable to get the replaying properly.

I use Etherial for cross checking the packets received. The payload is correct and codec type is also G.711. When I tried to store the payload using the statistics option provided by Etherial i am able to replay the voice perfectly.

In my application the procedure what i followed is here

until RTP BYE / RTCP BYE packet
get the RTP packet
retrive the payload
dump into a file
end until

add the WAVE header
and store the file.

I tried with DirectShow it is very slow... So I could not use that I have to go for very low level programming since the number of packets and number of VoIP calls are more....

I feel after receiving the RTP packet and before storing
whether i need to do any convertion?
is the procedure followed is correct?

Please clarify
Thanks
Ravi
GeneralRe: How to store RTP payload (G.711) to file? Pin
vikas amin15-Sep-05 2:13
vikas amin15-Sep-05 2:13 
GeneralUse Thread to update UI Pin
a_du5-Jul-05 18:26
a_du5-Jul-05 18:26 
GeneralRe: Use Thread to update UI Pin
sayup5-Jul-05 20:18
sayup5-Jul-05 20:18 
GeneralRe: Use Thread to update UI Pin
a_du5-Jul-05 20:33
a_du5-Jul-05 20:33 
GeneralRe: Use Thread to update UI Pin
PJ Arends5-Jul-05 21:38
professionalPJ Arends5-Jul-05 21:38 
GeneralRe: Use Thread to update UI Pin
David Crow6-Jul-05 2:49
David Crow6-Jul-05 2:49 
GeneralLoading controls at Run Time Pin
a_david1235-Jul-05 18:10
a_david1235-Jul-05 18:10 
GeneralRe: Loading controls at Run Time Pin
Jose Lamas Rios5-Jul-05 18:30
Jose Lamas Rios5-Jul-05 18:30 
GeneralUNICODE in edit control Pin
John R. Shaw5-Jul-05 17:23
John R. Shaw5-Jul-05 17:23 
GeneralRe: UNICODE in edit control Pin
Jose Lamas Rios5-Jul-05 17:39
Jose Lamas Rios5-Jul-05 17:39 
GeneralRe: UNICODE in edit control Pin
John R. Shaw5-Jul-05 18:27
John R. Shaw5-Jul-05 18:27 
GeneralRe: UNICODE in edit control Pin
Jose Lamas Rios5-Jul-05 18:47
Jose Lamas Rios5-Jul-05 18:47 
GeneralRe: UNICODE in edit control Pin
John R. Shaw5-Jul-05 19:02
John R. Shaw5-Jul-05 19:02 
GeneralRe: UNICODE in edit control Pin
Jose Lamas Rios6-Jul-05 3:26
Jose Lamas Rios6-Jul-05 3:26 
GeneralRe: UNICODE in edit control Pin
John R. Shaw7-Jul-05 14:56
John R. Shaw7-Jul-05 14:56 
GeneralRe: UNICODE in edit control Pin
Jose Lamas Rios7-Jul-05 15:51
Jose Lamas Rios7-Jul-05 15:51 
GeneralRe: UNICODE in edit control Pin
Antony T6-Jul-05 1:11
sussAntony T6-Jul-05 1:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.