Lines Matching defs:data
106 /* how much data was read since the last ICY metadata packet */
108 /* after how many bytes of read data a new metadata packet will be found */
155 { "post_data", "set custom HTTP post data", OFFSET(post_data), AV_OPT_TYPE_BINARY, .flags = D | E },
167 { "location", "The actual location of the data received", OFFSET(location), AV_OPT_TYPE_STRING, { .str = NULL }, 0, 0, D | E },
1418 * custom HTTP post data is set */
1537 * we've still to send the POST data, but the code calling this
1580 "Chunked encoding data size: %"PRIu64"\n",
1736 static void update_metadata(URLContext *h, char *data)
1741 char *next = data;
1778 * of normal data follows. */
1784 char data[255 * 16 + 1];
1787 ret = http_read_stream_all(h, data, len);
1790 data[len + 1] = 0;
1791 if ((ret = av_opt_set(s, "icy_metadata_packet", data, 0)) < 0)
1793 update_metadata(h, data);
1818 /* used only when posting data */
1827 /* non-chunked data is sent without any special encoding */
1831 /* silently ignore zero-size data since chunk encoding that would
1834 /* upload data using chunked encoding */
2011 .default_whitelist = "http,https,tls,rtp,tcp,udp,crypto,httpproxy,data"
2104 * is no extra data that we might buffer up here.