Changeset 66:ceb29224b3ad in mediastreamer2
- Timestamp:
- Oct 5, 2008 4:35:36 PM (5 years ago)
- Branch:
- default
- Location:
- linphone/oRTP
- Files:
-
- 2 edited
-
include/ortp/stun.h (modified) (1 diff)
-
src/stun.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
linphone/oRTP/include/ortp/stun.h
r0 r66 117 117 #define SourceAddress 0x0004 118 118 #define ChangedAddress 0x0005 119 #define Username 0x0006120 #define Password 0x0007119 #define STUNUsername 0x0006 /* Username is too common: rename to avoid conflict */ 120 #define STUNPassword 0x0007 /* Password is too common: rename to avoid conflict */ 121 121 #define MessageIntegrity 0x0008 122 122 #define ErrorCode 0x0009 -
linphone/oRTP/src/stun.c
r15 r66 381 381 } 382 382 } 383 else if (atrType == Username)383 else if (atrType == STUNUsername) 384 384 { 385 385 msg->hasUsername = TRUE; … … 395 395 } 396 396 } 397 else if (atrType == Password)397 else if (atrType == STUNPassword) 398 398 { 399 399 msg->hasPassword = TRUE; … … 678 678 { 679 679 if (verbose) ortp_message("stun: Encoding Username: %s\n", msg->username.value ); 680 ptr = encodeAtrString(ptr, Username, &msg->username);680 ptr = encodeAtrString(ptr, STUNUsername, &msg->username); 681 681 } 682 682 if (msg->hasPassword) 683 683 { 684 684 if (verbose) ortp_message("stun: Encoding Password: %s\n", msg->password.value ); 685 ptr = encodeAtrString(ptr, Password, &msg->password);685 ptr = encodeAtrString(ptr, STUNPassword, &msg->password); 686 686 } 687 687 if (msg->hasErrorCode)
Note: See TracChangeset
for help on using the changeset viewer.
