Determines whether or not the provided segment requires any subsegment streaming.
Indicates that the provided segment requires streaming when it has been marked for sampling and its tree of subsegments reaches a size greater than maxSegmentSize.
Streams (and removes) some subsegment children from the provided segment or subsegment.
Performs a depth first search to find completed subsegment subtrees. Serializes these subsegments, streams them to the daemon, and removes them from their parents.