avdtp_source.h (21f2491df42b3c97a35c6e6cf252a9454eafec6b) | avdtp_source.h (42780893c294d82e06e6ee0b370d0c83e51fe660) |
---|---|
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 --- 237 unchanged lines hidden (view full) --- 246 */ 247uint8_t avdtp_source_stream_send_media_packet(uint16_t avdtp_cid, uint8_t local_seid, const uint8_t * packet, uint16_t size); 248 249/** 250 * @brief Send media payload including RTP header 251 * @param avdtp_cid AVDTP channel identifier. 252 * @param local_seid ID of a local stream endpoint. 253 * @param marker | 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 --- 237 unchanged lines hidden (view full) --- 246 */ 247uint8_t avdtp_source_stream_send_media_packet(uint16_t avdtp_cid, uint8_t local_seid, const uint8_t * packet, uint16_t size); 248 249/** 250 * @brief Send media payload including RTP header 251 * @param avdtp_cid AVDTP channel identifier. 252 * @param local_seid ID of a local stream endpoint. 253 * @param marker |
254 * @param timestamp in sample rate units |
|
254 * @param payload 255 * @param size 256 * @return status 257 */ | 255 * @param payload 256 * @param size 257 * @return status 258 */ |
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); | 259uint8_t 260avdtp_source_stream_send_media_payload_rtp(uint16_t avdtp_cid, uint8_t local_seid, uint8_t marker, uint32_t timestamp, 261 const uint8_t *payload, uint16_t size); |
259 260/** 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 --- 28 unchanged lines hidden --- | 262 263/** 264 * @brief Request to send a media packet. Packet can be then sent on reception of AVDTP_SUBEVENT_STREAMING_CAN_SEND_MEDIA_PACKET_NOW event. 265 * @param avdtp_cid AVDTP channel identifier. 266 * @param local_seid ID of a local stream endpoint. 267 */ 268void avdtp_source_stream_endpoint_request_can_send_now(uint16_t avddp_cid, uint8_t local_seid); 269 --- 28 unchanged lines hidden --- |