Asset Send System¶
Assets are user-generated or user-added content. For asset sending, these types are supported:
- Text — Chat entry
- Photo — Camera snapshot
- Video — Cam recording
- Voice — Opus voice recording
- Face — Emoticon image (built into application)
Host Types¶
- Chat Room
- Group
- Random Connect
Chat Room Asset Send¶
Chat room sending is a special case:
- Users send assets only to host admin — the host then distributes to all members
- Host admin can send to an individual user or to all members
- Voice and Video assets are not allowed to avoid large storage requirements on chat room host
Group and Random Connect Asset Send¶
Group and Random Connect hosts work identically:
- Users can send to an individual member or to all members
- Host admin can send to an individual member or all members
Multi-Member Send Behavior¶
When sending to multiple members, sends are performed sequentially to avoid network congestion:
- Set member's name in progress bar text
- Show send progress if transfer requires multiple packets
- If user clicks the member's avatar in the avatar bar → send is canceled and a canceled icon is displayed
- If an error occurs during send → it is recorded and the next send starts
- If all sends succeed → the avatar icon is shown
- If any sends fail → the fail icon is shown
- Clicking a fail icon allows the user to view status and/or retry
GUI Management¶
Management of the GUI side of sending assets is handled by AssetSendMgr