Lines Matching defs:data

64     STATE_PLAYING,    ///< client has started receiving multimedia data from server
66 STATE_PUBLISHING, ///< client has started sending multimedia data to server (for output)
89 char *conn; ///< append arbitrary AMF data to the Connect message
92 uint8_t* flv_data; ///< buffer with data for demuxer
102 int has_audio; ///< presence of audio data
103 int has_video; ///< presence of video data
203 bytestream2_init(&gbc, pkt->data + offset, pkt->size - offset);
240 bytestream2_init(&gbc, pkt->data, pkt->size);
264 * object, or Z for null. For Booleans the data must be either 0 or 1 for
265 * FALSE or TRUE, respectively. Likewise for Objects the data must be
331 p = pkt.data;
382 // Write arbitrary AMF data to the Connect message.
404 pkt.size = p - pkt.data;
462 cp = pkt.data;
477 /* Here one could parse an AMF Object with data as flashVers and others. */
492 p = pkt.data;
496 pkt.size = p - pkt.data;
506 p = pkt.data;
511 pkt.size = p - pkt.data;
523 p = pkt.data;
537 p = pkt.data;
551 p = pkt.data;
573 pkt.size = p - pkt.data;
583 p = pkt.data;
588 pkt.size = p - pkt.data;
611 p = pkt.data;
635 p = pkt.data;
659 p = pkt.data;
684 p = pkt.data;
709 p = pkt.data;
733 p = pkt.data;
755 p = pkt.data;
781 p = pkt.data;
805 p = pkt.data;
831 p = pkt.data;
858 p = pkt.data;
887 p = pkt.data;
889 bytestream_put_be32(&p, AV_RB32(ppkt->data+2));
908 p = pkt.data;
928 p = pkt.data;
947 p = pkt.data;
968 p = pkt.data;
985 p = pkt.data;
995 * Put HMAC-SHA2 digest of packet data (except for the bytes where this digest
998 * @param buf handshake data (1536 bytes)
1000 * @return offset to the digest inside input data
1023 * @param buf handshake data received from the server (1536 bytes)
1195 * Perform handshake with the server by means of exchanging pseudorandom data
1204 3, // unencrypted data
1221 // generate handshake packet - 1536 bytes of pseudorandom data
1227 * byte to 0x06 which means to use encrypted data and we have to set
1512 rt->out_chunk_size = AV_RB32(pkt->data);
1515 rt->in_chunk_size = AV_RB32(pkt->data);
1538 t = AV_RB16(pkt->data);
1569 rt->max_sent_unacked = AV_RB32(pkt->data);
1592 rt->receive_report_size = AV_RB32(pkt->data);
1797 const uint8_t *data_end = pkt->data + pkt->size;
1806 if (!ff_amf_get_field_value(pkt->data + 9, data_end,
1847 bytestream2_init_writer(&pbc, spkt.data, spkt.size);
1874 pp = spkt.data;
1893 spkt.size = pp - spkt.data;
1909 const uint8_t *p = pkt->data;
1963 pp = spkt.data;
1989 pp = spkt.data;
2003 spkt.size = pp - spkt.data;
2027 bytestream2_init(&gbc, pkt->data, pkt->size);
2124 const uint8_t *data_end = pkt->data + pkt->size;
2125 const uint8_t *ptr = pkt->data + RTMP_HEADER;
2164 if (ff_amf_match_string(pkt->data, pkt->size, "_error")) {
2167 } else if (ff_amf_match_string(pkt->data, pkt->size, "_result")) {
2170 } else if (ff_amf_match_string(pkt->data, pkt->size, "onStatus")) {
2173 } else if (ff_amf_match_string(pkt->data, pkt->size, "onBWDone")) {
2176 } else if (ff_amf_match_string(pkt->data, pkt->size, "releaseStream") ||
2177 ff_amf_match_string(pkt->data, pkt->size, "FCPublish") ||
2178 ff_amf_match_string(pkt->data, pkt->size, "publish") ||
2179 ff_amf_match_string(pkt->data, pkt->size, "play") ||
2180 ff_amf_match_string(pkt->data, pkt->size, "_checkbw") ||
2181 ff_amf_match_string(pkt->data, pkt->size, "createStream")) {
2193 // generate packet header and put data into buffer for FLV demuxer
2195 // There is old unread data in the buffer, thus append at the end
2199 // All data has been read, write the new data at the start of the buffer
2212 const uint8_t *data = pkt->data + skip;
2235 bytestream2_put_buffer(&pbc, data, size);
2249 bytestream2_init(&gbc, pkt->data, pkt->size);
2288 skip = gbc.buffer - pkt->data;
2364 next = pkt->data;
2367 /* copy data while rewriting timestamps */
2370 while (next - pkt->data < pkt->size - RTMP_HEADER) {
2379 if (size + 3 + 4 > pkt->data + pkt->size - next)
2401 * there is some significant data (media data or expected status notification).
2406 * otherwise function will work until some media data is received (or
2534 // header, i.e. we need to move all other already read data by the
2552 // Delete the old FLV data
2557 bytestream_put_be24(&p, 40); // size of data part (sum of all parts below)
2567 // mixed array (hash) with size and string/type/data tuples
2580 bytestream_put_be32(&p, 40 + RTMP_HEADER); // size of data part (sum of all parts above)
3014 rt->flv_data = rt->out_pkt.data;
3040 if ((ret = av_reallocp(&rt->out_pkt.data, rt->out_pkt.size + 16)) < 0) {
3044 memmove(rt->out_pkt.data + 16, rt->out_pkt.data, rt->out_pkt.size);
3046 ptr = rt->out_pkt.data;
3075 /* no incoming data to handle */
3104 {"rtmp_conn", "Append arbitrary AMF data to the Connect message", OFFSET(conn), AV_OPT_TYPE_STRING, {.str = NULL }, 0, 0, DEC|ENC},