title: Bluedroid AV connection fails (BTAV_CONNECTION_STATE_DISCONNECTED state)
body: <p>I am using Bluedroid stack for developiong my bluetooth apllication.</p>
  
  <p>I am using A2DP src profile to make connection between Mobile and my device.</p>
  
  <p>I have issue in following scenario:</p>
  
  <p>When i switch from A2DP SINK profile to A2DP Source profile, the first connection request from Mobile site is always failure.
  And after first connection request its always success.</p>
  
  <p>I found the reason for fail is:</p>
  
  <p>AV connection state is changing from 
  BTAV_CONNECTION_STATE_CONNECTING
  ...
  ...
  BTAV_CONNECTION_STATE_DISCONNECTED</p>
  
  <p>I have checked the flow in Bluedrod Stack, and found that streamming open is failed and due to this i gets BTAV_CONNECTION_STATE_DISCONNECTED event to my app.</p>
  
  <p>Any help would be appreciated.
  For more information please comment.</p>
  
  <p>The fail status is BTA_AV_FAIL_STREAM in bluedroid stack</p>