def get_stream_info(self, uri):
        """Get all stream infos, including stream and relevant frame numbers,
        for a given media file identifier.

        Args:
            uri: the unique media file identifier for which to get all stream
                infos

        Returns:
            the :class:`OpenLABELStreamInfos` corresponding to the given uri
        """
        infos = []
        if uri in self._uri_to_stream_ids:
            # Matches at least one stream at sample/frame level
            stream_ids = self._uri_to_stream_ids[uri]
            for stream_id in stream_ids:
                stream = self._element_id_to_element[stream_id]
                label_file_id = self._get_label_file_id(
                    stream_id,
                    stream.name,
                )
                frame_numbers, is_sample_level = stream.get_frame_numbers(uri)
                info = OpenLABELStreamInfo(
                    frame_numbers=frame_numbers,
                    stream=stream,
                    label_file_id=label_file_id,
                    is_sample_level=is_sample_level,
                )
                infos.append(info)
        else:
            # Does not match any stream, create info with only label file id,
            # must be sample level
            info = OpenLABELStreamInfo(label_file_id=uri, is_sample_level=True)
            infos.append(info)

        return OpenLABELStreamInfos(infos=infos)
Get all stream infos, including stream and relevant frame numbers,
        for a given media file identifier.

        Args:
            uri: the unique media file identifier for which to get all stream
                infos

        Returns:
            the :class:`OpenLABELStreamInfos` corresponding to the given uri
        
fiftyone/utils/openlabel.py