def get_out_streamids(self):
if self.outputs is None:<EOL><INDENT>return set()<EOL><DEDENT>if not isinstance(self.outputs, (list, tuple)):<EOL><INDENT>raise TypeError("<STR_LIT>"<EOL>% str(type(self.outputs)))<EOL><DEDENT>ret_lst = []<EOL>for output in self.outputs:<EOL><INDENT>if not isinstance(output, (str, Stream)):<EOL><INDENT>raise TypeError("<STR_LIT>" % str(output))<EOL><DEDENT>ret_lst.append(Stream.DEFAULT_STREAM_ID if isinstance(output, str) else output.stream_id)<EOL><DEDENT>return set(ret_lst)<EOL>
Returns a set of output stream ids registered for this component