Changeset 1098 for pjproject/trunk/pjmedia/include/pjmedia/transport.h
- Timestamp:
- Mar 23, 2007 4:34:20 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia/transport.h
r1097 r1098 179 179 struct pjmedia_transport_op 180 180 { 181 /** 182 * Get media socket info from the specified transport. 183 * 184 * Application should call #pjmedia_transport_get_info() instead 185 */ 181 186 pj_status_t (*get_info)(pjmedia_transport *tp, 182 187 pjmedia_sock_info *info); … … 255 260 256 261 262 /** 263 * Media transport type. 264 */ 265 typedef enum pjmedia_transport_type 266 { 267 /** Media transport using standard UDP */ 268 PJMEDIA_TRANSPORT_TYPE_UDP, 269 270 /** Media transport using ICE */ 271 PJMEDIA_TRANSPORT_TYPE_ICE 272 273 } pjmedia_transport_type; 274 275 257 276 /** 258 277 * This structure declares stream transport. A stream transport is called … … 263 282 { 264 283 /** Transport name (for logging purpose). */ 265 char name[PJ_MAX_OBJ_NAME]; 284 char name[PJ_MAX_OBJ_NAME]; 285 286 /** Transport type. */ 287 pjmedia_transport_type type; 266 288 267 289 /** Transport's "virtual" function table. */ 268 pjmedia_transport_op *op;290 pjmedia_transport_op *op; 269 291 }; 270 292 271 293 294 /** 295 * Get media socket info from the specified transport. The socket info 296 * contains information about the local address of this transport, and 297 * would be needed for example to fill in the "c=" and "m=" line of local 298 * SDP. 299 * 300 * @param tp The transport. 301 * @param info Media socket info to be initialized. 302 * 303 * @return PJ_SUCCESS on success. 304 */ 272 305 PJ_INLINE(pj_status_t) pjmedia_transport_get_info(pjmedia_transport *tp, 273 306 pjmedia_sock_info *info)
Note: See TracChangeset
for help on using the changeset viewer.