avdtp_source.h (4ca20cf6b9cf4558ad4c19207db04e66f8bb3a51) | avdtp_source.h (21f2491df42b3c97a35c6e6cf252a9454eafec6b) |
---|---|
1/* 2 * Copyright (C) 2016 BlueKitchen GmbH 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 8 * 1. Redistributions of source code must retain the above copyright --- 244 unchanged lines hidden (view full) --- 253 * @param marker 254 * @param payload 255 * @param size 256 * @return status 257 */ 258uint8_t avdtp_source_stream_send_media_payload_rtp(uint16_t avdtp_cid, uint8_t local_seid, uint8_t marker, const uint8_t * payload, uint16_t size); 259 260/** | 1/* 2 * Copyright (C) 2016 BlueKitchen GmbH 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 8 * 1. Redistributions of source code must retain the above copyright --- 244 unchanged lines hidden (view full) --- 253 * @param marker 254 * @param payload 255 * @param size 256 * @return status 257 */ 258uint8_t avdtp_source_stream_send_media_payload_rtp(uint16_t avdtp_cid, uint8_t local_seid, uint8_t marker, const uint8_t * payload, uint16_t size); 259 260/** |
261 * @brief Send media payload including RTP header and the SBC media header 262 * @deprecated Please use avdtp_source_stream_send_media_payload_rtp 263 * @param avdtp_cid AVDTP channel identifier. 264 * @param local_seid ID of a local stream endpoint. 265 * @param storage 266 * @param num_bytes_to_copy 267 * @param num_frames 268 * @param marker 269 * @return max_media_payload_size_without_media_header 270 */ 271int avdtp_source_stream_send_media_payload(uint16_t avdtp_cid, uint8_t local_seid, const uint8_t * payload, uint16_t payload_size, uint8_t num_frames, uint8_t marker); 272 273/** | |
274 * @brief Request to send a media packet. Packet can be then sent on reception of AVDTP_SUBEVENT_STREAMING_CAN_SEND_MEDIA_PACKET_NOW event. 275 * @param avdtp_cid AVDTP channel identifier. 276 * @param local_seid ID of a local stream endpoint. 277 */ 278void avdtp_source_stream_endpoint_request_can_send_now(uint16_t avddp_cid, uint8_t local_seid); 279 280/** 281 * @brief Return maximal media payload size, does not include media header. --- 26 unchanged lines hidden --- | 261 * @brief Request to send a media packet. Packet can be then sent on reception of AVDTP_SUBEVENT_STREAMING_CAN_SEND_MEDIA_PACKET_NOW event. 262 * @param avdtp_cid AVDTP channel identifier. 263 * @param local_seid ID of a local stream endpoint. 264 */ 265void avdtp_source_stream_endpoint_request_can_send_now(uint16_t avddp_cid, uint8_t local_seid); 266 267/** 268 * @brief Return maximal media payload size, does not include media header. --- 26 unchanged lines hidden --- |