As the name suggests, "transparent channel" is a channel provided by anychat SDK for upper-layer applications to transmit data. Because anychat SDK does not care about the transmitted content, that is, the transmitted data is "Transparent" compared with the SDK, and is called "transparent channel ".
Upper-layer applications can use the transparent channel provided by the SDK to expand their services. There is no limit on the content transmitted. It can be a buffer of any data type. The maximum size of a single transmission is 1000 bytes, for example, you can use a transparent channel to transmit custom commands on the business. After receiving the data, the receiver will generate a transparent channel data callback and parse the commands in the callback function, and perform corresponding business logic processing.
Versions earlier than v2.8.7 can only broadcast data to any two users in the current room or to all users in the room.
Starting from version 2.8.7, you can use a transparent channel interface between two successfully logged-on users to transmit custom data. The size of each data transmission is 1000 bytes. If you are in the room, transparent channels can also be used to broadcast data to all users in the room. For details, refer to: 41. brac_transbuffer
If a large amount of buffer data needs to be transferred between any two users in the room, you can use the Extended Interface: 42. brac_transbufferex, the SDK automatically completes the subcontracting, group package, and validation of the large buffer zone.