Lines Matching defs:port

73     { "rtcp_port",          "Custom rtcp port",                                                 OFFSET(rtcp_port),       AV_OPT_TYPE_INT,    { .i64 = -1 },    -1, INT_MAX, .flags = D|E },
74 { "local_rtpport", "Local rtp port", OFFSET(local_rtpport), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, INT_MAX, .flags = D|E },
75 { "local_rtcpport", "Local rtcp port", OFFSET(local_rtcpport), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, INT_MAX, .flags = D|E },
97 * get the local port first, then you must call this function to set
109 int port, rtcp_port;
115 av_url_split(NULL, 0, NULL, 0, hostname, sizeof(hostname), &port,
117 rtcp_port = port + 1;
126 ff_url_join(buf, sizeof(buf), "udp", NULL, hostname, port, "%s", path);
145 static void set_port(struct sockaddr_storage *ss, int port)
148 ((struct sockaddr_in *)ss)->sin_port = htons(port);
151 ((struct sockaddr_in6 *)ss)->sin6_port = htons(port);
157 * "http://host:port/path?option1=val1&option2=val2...
179 int port, int local_port,
183 ff_url_join(buf, buf_size, "udp", NULL, hostname, port, NULL);
206 * url syntax: rtp://host:port[?option=val...]
208 * 'rtcpport=n' : set the remote rtcp port to n
209 * 'localrtpport=n' : set the local rtp port to n
210 * 'localrtcpport=n' : set the local rtcp port to n
218 * 'localport=n' : set the local port to n
220 * if rtcpport isn't set the rtcp port will be the rtp port + 1
221 * if local rtp port isn't set any available port will be used for the local
223 * if the local rtcp port is not set it will be the local rtp port + 1
476 "Not received any RTCP packets yet, inferring peer port "
477 "from the RTP port\n");
483 "Not received any RTP packets yet, inferring peer port "
484 "from the RTCP port\n");
534 * Return the local rtp port used by the RTP connection
536 * @return the local port number
546 * Return the local rtcp port used by the RTP connection
548 * @return the local port number