[MTK平台] 通过log了解A2dp的过程

2023-12-14 17:25:49

一 前提概要


测试环境:

通过蓝牙耳机连接手机后播放视频

Log分析如下:


//HFP 连接成功
12-14 10:53:41.401814 10246 10321 D HeadsetStateMachine: Connecting: currentDevice=0C:AE:BD:1B:80:74, msg=processConnectionEvent, state=3
12-14 10:53:41.401939 10246 10321 D HeadsetStateMachine: Connecting: currentDevice=0C:AE:BD:1B:80:74, msg=SLC connected

//A2dp建立连接
12-14 10:53:40.605532 10246 10316 D A2dpStateMachine: Connection state 0C:AE:BD:1B:80:74: DISCONNECTED->CONNECTING

//使用A2dp profile播放
12-14 10:53:47.611253 10246 10316 D A2dpStateMachine: A2DP Playing state : device: 0C:AE:BD:1B:80:74 State:NOT_PLAYING->PLAYING

//当前音频传输(A2DP)的日志信息
12-14 10:53:47.632222 10246 10300 V bt_stack: [VERBOSE2:a2dp_encoding_hidl.cc(200)] GetPresentationPosition: delay=2000/10ms, data=2560 byte(s), timestamp=223395.568956238s
12-14 10:53:47.670856 10246 10300 V bt_stack: [VERBOSE2:a2dp_encoding_hidl.cc(200)] GetPrese

文章来源:https://blog.csdn.net/weixin_47456647/article/details/134993928
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。