Ignore:
Timestamp:
Sep 21, 2006 9:06:08 AM (16 years ago)
Author:
bennylp
Message:

Fixed capture device enumeration bug in DirectSound?, and changed SDP generation to put the IP address instead of hostname in the SDP origin field since hostname may not be setup correctly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/endpoint.c

    r637 r732  
    299299    sdp->origin.net_type = STR_IN; 
    300300    sdp->origin.addr_type = STR_IP4; 
    301     sdp->origin.addr = *pj_gethostname(); 
     301    pj_strdup2(pool, &sdp->origin.addr,  
     302               pj_inet_ntoa(sock_info[0].rtp_addr_name.sin_addr)); 
    302303    sdp->name = STR_SDP_NAME; 
    303304 
Note: See TracChangeset for help on using the changeset viewer.