public OutputStream createOutputStream(int streamId){
  int channelId=(4 + ((streamId - 1) * 5));
  final Channel data=getChannel(channelId++);
  final Channel video=getChannel(channelId++);
  final Channel audio=getChannel(channelId++);
  return new OutputStream(video,audio,data);
}

public OutputStream createOutputStream ( int streamId ) { int channelId = ( 4 + ( ( streamId - 1 ) * 5 ) ) ; final Channel data = getChannel ( channelId ++ ) ; final Channel video = getChannel ( channelId ++ ) ; final Channel audio = getChannel ( channelId ++ ) ; return new OutputStream ( video , audio , data ) ; }
creates output stream object from stream id . output stream consists of audio , data and video channels .
