Opened 7 years ago
Closed 7 years ago
#2108 closed defect (fixed)
Fixed RTP socket to bind to any available port if port is zero
Reported by: | ming | Owned by: | bennylp |
---|---|---|---|
Priority: | normal | Milestone: | release-2.8 |
Component: | pjsua-lib | Version: | trunk |
Keywords: | Cc: | ||
Backport to 1.x milestone: | Backported: | no |
Description
According to the doc of pjsua_transport_config:
/** * UDP port number to bind locally. This setting MUST be specified * even when default port is desired. If the value is zero, the * transport will be bound to any available port, and application * can query the port by querying the transport info. */ unsigned port;
However, currently setting the port to zero will result to it being assigned the default port number instead (which is set to 4000).
Change History (1)
comment:1 Changed 7 years ago by ming
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
In 5774: