c - How to set up stunserver and turnserver in icedemo? -


I am using pjsip project 2.3. And I want to use snow to make my P2P smaller.

I have icedemo.c.and compiled CDDline "-s stunserver.org".

But when I run a demo, I think it can not work well. Dump information like this:

  11: 46: 45.343 os_core_win32 for win32 pjlib 1.4 initialized 11: 46: 45.359 pjlib () I / O queue created (00A338E4) +---- --------------------------------------------------- ---------------- + | MENU | + --- + --------------------------------------------- --------------------- + | C. Create an example | D | Destroy destroyed examples. | | I Init o | As an initial ICE session or responder. | E End / close the IEEE session. | S | Display local ICE information. | R | Remote input remote ICE information | | B Introducing ICAC Conversation | | X | & Lt; Compid & gt; Send data for remote ... Send. + --- + --------------------------------------------- --------------------- + | H | help Help! * | | Q | Quit leaving + ------------------------------------------------- --------------------- Input: Creating ICE Section Transport with C 11: 46: 49.703 ICDMO1 Component (S) 11: 46: 49.734 ICDMO Comp 1 : 46 :: 50.000 stuntp00A34390 TX 36 bytes Stun messages 132.177.123.13:3478 are: --- Start STUN Message --- STUN Binding Request Hdr: Length = 16, Magic = 2112a442, tsx_id = 6784482372ae3d6c00015f90 Properties srflx Candidate Search 11 Binding Start: Software: Length = 10, value = "pjnath-1.4" --- End of STUN message --- 11: 46: 50.000 stuntsx00A3BCF STUN for customer transaction made 11: 46: 50.000 stuntsx00A3BCF STUN message (Transmitted count = 1) 11: 46: 50.015 icedemo Comp 1: Host candidate added 192.168.2.146:7033 icedemo ice stream transport 11 made 50.015 icedemo.c Ice successfully created example ------ -------- ------------------------------------------ -------- -------- + | MENU | + --- + --------------------------------------------- --------------------- + | C. Create an example | D | Destroy destroyed examples. | | I Init o | As an initial ICE session or responder. | E End / close the IEEE session. | S | Display local ICE information. | R | Remote input remote ICE information | | B Introducing ICAC Conversation | | X | & Lt; Compid & gt; Send data for remote ... Send. + --- + --------------------------------------------- --------------------- + | H | help Help! * | | Q | Quit leaving + ------------------------------------------------- --------------------- Input: 11: 46: 50.359 Stunts sending messages (Transmit number = 2) 11: 46: 50.562 Stunts x00 A3 BCF send STUN messages (transmit 46 :: = 3) 11 count 46: sending 50.968 stuntsx00A3BCF STUN message (number = 4) send 11 transmit 51.781 stuntsx00A3BCF STUN message (transmitted number = 5) 11: 46: sending 53.390 stuntsx00A3BCF STUN message (transmit count = 6) 11: 46: 56.593 stuntsx00A3BCF STUN send message (transmit count = 7) 11: 46: 58.203 stuntsx00A3BCF STUN waiting for timeout response 11: 46: 58.203 in stuntp00A34390 session Because STUN binding request failed: time STUN transaction is ended (PJNATH_ESTUNTIMEDOUT) 11:46: 58.203 icedemo STUN binding request failed: time STUN transaction is ended (PJNATH_ESTUNTIMEDOUT) 11: 46: 58.203 icedemo .c snow starts to fail: STUN transaction ti out made (PJNATH_ESTUNTIMEDOUT) 11: 47: 00.203 stuntsx00A3BCF STUN destroyed customer transactions    

I have my uniform Pijesaipi based applications similar problems. There is something wrong with the STUN server on stunserver.org . It's going down from time to time.

Try to use one of the STUN servers provided by Google I have considered them as very reliable.

  Stonklkguglkcom:l9302 Stunlklkguglkcom:l9302 Stun2klkguglkcom:l9302 Stun3klkgugl .com: 19302 Stun4kl. Google.com: 19302    

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -