After you record, Riverside labels each speaker with the display name they use in the Studio.
The transcript will not label each separate speaker if two people record to the same audio input or if you upload an externally-recorded file that has more than one person speaking.