OpenHarmonyBluetoothAvrcp调试指南1概述AVRCP(Audio/VideoRemoteControlProfile),音视频远程控制协议。该Profile定义了AV/C数字命令控制集。命令和信息通过AVCTP(Audio/VideoControlTransportProtocol)协议进行传输。浏览功能通过AVCTP的第二个channel而不是A
C1–MandatoryifTargetsupportsCategory1,Optionalotherwise
C2–MandatoryifdevicesupportsMetadataAttributesforCurrentMediaItem,Optionalotherwise
C3–MandatorytosupportatleastoneCategory
C4–MandatoryifCategory2supported,Excludedotherwise
C5–MandatoryifTargetsupportsCategory1orCategory3,Optionalotherwise
C6–MandatoryifBrowsing(item18)issupported,optionalotherwise
C7–OptionalifCategory1or3,orBrowsingissupported,Excludedotherwise
C8–Mandatoryifanyofitems10–20.1aresupported,Excludedotherwise
X–Excluded
C9–MandatoryifMediaPlayerSelectionorBrowsingissupported,Optionalotherwise.
C10–MandatoryifCategory1or3,orBrowsingissupported,Optionalotherwise.
播放、暂停、上下首切歌等控制命令
TG回复支持的EVENTID
需要同时打开ct和tgfeature
打开AVSession宏配置
AVSession简介
媒体会话交互过程
更多推荐
图形Allocator介绍
Allocator整体Allocator是干什么的Gralloc是申请和释放内存的模块,由硬件驱动提供实现,为BufferQueue机制提供了基础,且分配的图形Buffer是进程间共享的。Gralloc分为两部分:内存申请allocator(AllocMem)和其它内存接口mapper(FreeMem、Mamp、UnMap等)。其中内存申请接口(AllocMem)设计为跨进程调用,实现