Parent: 4503dba4ba28299c83aa320a95e988c74b67eaa8
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-06-15 17:50:01
Tree: ca226b0e8c4c436b64f29b57a2048758ae427460
audio: Wait remote side to send AVDTP_START when acting as acceptor Some devices like Sony Ericsson MW600 reject AVDTP_START if it was the initiator of the connection, apparently it follows recommendation 12 of simultaneous use of HFP, A2DP and AVRCP profiles white paper which says: "If the RD has configured and opened a stream it is also responsible to start the streaming via GAVDP_START." If the client is fast enough and try to acquire the transport this cause an error, so instead of sending AVDTP_START the code now checks if it is the acceptor of the stream and wait the remote side to send the command.
Diffstat
| M | audio/avdtp.c | | | 18 | +++++++++++++++++- |
1 files changed, 17 insertions(+), 1 deletions(-)