props string and the stream_tracks array). You must release it with the matching free function; otherwise memory leaks.
rtc_get_users_info
Returns
rtc_free_users_info
rtc_get_users_info, including each user’s props and stream_tracks as well as the array itself.
rtc_get_user_info
user is provided by the caller (a stack variable is fine), and the SDK fills in its fields. If uid is your own uid, it returns the local user’s info, the same as rtc_get_local_user_info.
Returns
rtc_free_user_info
rtc_user_info_t (props and stream_tracks), but not the struct itself.
For field descriptions, see Types · rtc_user_info_t.
rtc_get_local_user_info
uid, sid, etc.), since 0.0.9. You also need to call rtc_free_user_info when you’re done with it.
stream_tracks lists the tracks the local user has currently published (since 0.1.2; always empty in earlier versions).
Returns: RTC_OK / RTC_INVALID_PARAM (invalid handle or user) / RTC_NOT_CONNECTED (not yet joined).
rtc_get_channel_info
RTC_OK, you must call rtc_free_channel_info to free the props inside it.
Returns: RTC_OK / RTC_INVALID_PARAM / RTC_NOT_CONNECTED (not yet joined).