More STUN..
For now, we are able to get the public IP and the public port. The public port was not easily harvested through the pidgin API, so we had to hack the stun.c and stun.h for altering the structure and the method for retrieving these.
At the same time we also found out that we are not able to punch hole through our NATs and therefore the API is probably not have this functionality. We have to implement this ourselves. We found some good reading about UDP hole punching which is a technique that allows traversing NATs. Locally our code is working fine. Though still some comparing neeeds to be done, so we are able to see is the peers are locally available or not.
We also did some near implementation of candidates, so our voice code takes candidates as parameteres instead of alot of diffrent parameters such as ipaddr, port etc. We also made a implementation so that we can contain two different list in the voicenode structure: local_candidates and peer_candidates. This need also to be done for the payload!
Also we did a milestone document.
At the same time we also found out that we are not able to punch hole through our NATs and therefore the API is probably not have this functionality. We have to implement this ourselves. We found some good reading about UDP hole punching which is a technique that allows traversing NATs. Locally our code is working fine. Though still some comparing neeeds to be done, so we are able to see is the peers are locally available or not.
We also did some near implementation of candidates, so our voice code takes candidates as parameteres instead of alot of diffrent parameters such as ipaddr, port etc. We also made a implementation so that we can contain two different list in the voicenode structure: local_candidates and peer_candidates. This need also to be done for the payload!
Also we did a milestone document.
0 Comments:
Post a Comment
<< Home